I want to connect to MySQL database on Amazon EC2 server using Java. I am able to create ssh tunnel using Jsch library and forward ports to that server, however connecting to DB
I've got exactly the same problem using AppFog (in front of AWS). The only way I could workaround this issue was dropping the following from my connection string:
"?useUnicode=true&characterEncoding=UTF-8"
Off course, you should be sure that this will not affect your application requirements.