HiveBrain v1.2.0
Get Started
← Back to all entries
snippetsqlMinor

How do I test if MySQL "require secure transport" is working?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
secureworkingmysqltestrequirehowtransport

Problem

I activated the checkbox named "require secure transport" in the options file, found in the MySQL Workbench.

How do I know if MySQL "require secure transport" is working? Should I use command line at this point?

Solution

Just try to connect in a non-secure way and be sure it doesn't work.

If you are not sure wether you are using SSL or not to connect, then yes, the simplest way is using the command line client:

mysql --ssl-mode=DISABLED

Code Snippets

mysql --ssl-mode=DISABLED

Context

StackExchange Database Administrators Q#199331, answer score: 4

Revisions (0)

No revisions yet.