Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dataslayermedia/e7e6583724ae52c8c9a98b3f348d0c84 to your computer and use it in GitHub Desktop.
Save dataslayermedia/e7e6583724ae52c8c9a98b3f348d0c84 to your computer and use it in GitHub Desktop.
Remote Host MySQL Connections Over SSL Using PDO
MySQL Command Line to Connect Over SSL
mysql -u root -p -h 35.192.65.60 \
--ssl-ca=/home/data/server-ca.pem --ssl-cert=/home/data/client-cert.pem \
--ssl-key=/home/data/client-key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment