Open cypressf opened 6 years ago
Hello @cypressf! Thanks for reaching out to us on Github 😄
Mycli isn't exactly the same as mysql, so there will be some differences that you'll notice. We do have support for SSL via these options:
--ssl-ca PATH CA file in PEM format.
--ssl-capath TEXT CA directory.
--ssl-cert PATH X509 cert in PEM format.
--ssl-key PATH X509 key in PEM format.
--ssl-cipher TEXT SSL cipher to use.
--ssl-verify-server-cert Verify server's "Common Name" in its cert
against hostname used when connecting. This
option is disabled by default.
I don't have a quick way to test what happens if mycli can't connect over SSL -- in that scenario are you seeing mycli reconnect without SSL?
Type
Result: connects properly.
Type
Result
Expected: can be configured with
--ssl-mode
flag like themysql
command.