Aug 31, 2017

How to connect to MySQL server by SSL

$ mysql -h -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
Post a Comment

Featured Post

Modern tar recognizes the file format

One command works with any supported compression method. tar xf archive.tar.xz tar xf archive.tar.gz tar xf archive.tar etc. ...