Digital Marketing

How to switch ssl off for MySQL client via unix socket

If you get the following:

You are enforcing ssl conection via unix socket. Please consider
switching ssl off as it does not make connection via unix socket
any more secure.

If you want to disable it via the client, you can use --ssl-mode=DISABLED or "--ssl-mode=PREFERRED".

For example:

$ mysql --login-path=root --ssl-mode=PREFERRED

Or even:

$ mysql --login-path=root --ssl-mode=P

 ssl-mode options are: 'DISABLED','PREFERRED','REQUIRED','VERIFY_CA','VERIFY_IDENTITY'

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux