Skip to content

For help, click the link below to get free database assistance or contact our experts for personalized support.

s: User not using SSL protocol to connect

Description

When MySQL server is configured with SSL, users can still connect to the server using --ssl-mode=disabled.

In this case, the connection will not be encrypted and data will be subject to sniffing.

When using SSL, it is recommended to enforce it for all users.

Resolution

To prevent users from connecting using an insecure protocol, you can act at instance-level:

[mysqld]
require_secure_transport=ON

Or when creating the user:

CREATE USER 'jeffrey'@'localhost' REQUIRE SSL;

Need more support from Percona?

Percona experts bring years of experience in tackling tough database performance issues and design challenges.