ODBC Driver for MySQL

SSL Connection Description

SSL (Secure Sockets Layer) is the protocol for secure access to remote computers over insecure communication channels.

The SSL protocol runs above TCP/IP and below higher-level database protocol. It uses TCP/IP on behalf of the higher-level protocols, and in the process allows an SSL-enabled server to authenticate itself to an SSL-enabled client, allows the client to authenticate itself to the server, and allows both machines to establish an encrypted connection.

These capabilities address fundamental concerns about communication over the Internet and other TCP/IP networks:

SSL is based on algorithms of asymmetric encryption and digital signature. Consult MySQL Reference Manual for information about how to enable SSL support for MySQL server and generate certificates .


Usage of SSL is more preferable for MySQL connections than SSH because of less required settings and higher performance.

How to connect to MySQL using SSL

To use SSL encryption for connection to MySQL, the corresponding SSL connection options should be set:

Using ODBC Data Source Administrator


SSL Options Description




Enables or disables SSL for connection.

CA Certificate

Holds the pathname to the certificate authority file.


Holds the pathname to the certificate file.


Holds the pathname to the key file.

Example Connection String

User ID=root;Password=root;Server=db;Port=3307;Database=test;Use SSL=true;SSL CACert=c:\cacert.pem;SSL Cert=c:\client-cert.pem;SSL Key=c:\client-key.pem;

© 2015-2018 Devart. All Rights Reserved. Request Support ODBC Forum Provide Feedback