I guess you have to configure server to support SSL (SSL permission on account, ciphers, certificate,etc.). You can read more here http://dev.mysql.com/doc/refman/5.0/...nnections.html