Quantcast
Channel: Uly.me
Viewing all articles
Browse latest Browse all 15

MySQL SSL Connection

$
0
0

The standard way to connect to MySQL is:

mysql -h hostname -u user -p

Here’s how to connect to MySQL with SSL encryption.

mysql -h hostname -u user -p \
--ssl-ca=server-ca.pem \
--ssl-cert=client-cert.pem \
--ssl-key=client-key.pem

Generate the SSL keys from the MySQL server. Download it to the client.


Viewing all articles
Browse latest Browse all 15

Trending Articles