Using SSL using MySQL ODBC 5.2

Connection string

This MySQL Connector/ODBC 5.2 connection string can be used for connections to MySQL.

Driver={MySQL ODBC 5.2 ANSI Driver};Server=myServerAddress;Database=myDataBase;
User
=myUsername;
Password=myPassword;sslca=c:\cacert.pem;
sslcert
=c:\client-cert.pem;
sslkey=c:\client-key.pem;sslverify=1;Option=3;

SSLCA specifies the path to a file with a list of trust SSL CAs

SSLCERT specifies the name of the SSL certificate file to use for establishing a secure connection.

SSLKEY specifies the name of the SSL key file to use for establishing a secure connection.