Aug 31, 2017

How to connect to MySQL server by SSL

$ mysql -h mysql.i88.ca -u i88ca -p --ssl-ca=my-combined-ca-bundle.pem --ssl-mode=VERIFY_IDENTITY

If you are using alias for the host name, then you cannot add --ssl-mode=VERIFY_IDENTITY