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'

Comments

Popular posts from this blog

Make online money from the Internet