Using SSL is possible when connecting to an SSL enabled MySQL server.
To configure an SSL connection, use the following command options:
--ssl: This enables or disables connections through SSL. If set to 0, the other SSL command options are ignored.--ssl-ca=: The path to a file in PEM format that contains a list of trusted SSL certificate authorities.filename--ssl-cert=: The name of the SSL certificate file in PEM format to use for establishing a secure connection.filename--ssl-key=: The name of the SSL key file in PEM format to use for establishing a secure connection.filename
The --ssl option is assumed to be 1 (enabled)
if the other SSL options are set.