Keeps spamming "Establishing SSL connection without...."
TheNety opened this issue ยท 0 comments
What behaviour is observed:
I'm using a mysql server without ssl, so I have to set mySQLUseSSL
and mySQLCheckServerCertificate
to false. But even when it's both set to false, it keeps spamming in the console this:
[16:53:18 WARN]: Sat Dec 19 16:53:18 CET 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
It's really annoying because it keeps spamming it very often, and I can't turn these 2 options to true otherwise it wouldn't work.
What behaviour is expected:
When these 2 options are set at false, it won't spam any errors.
Environment description
Standalone server, Paper 1.16.4
MySQL 5.7.32
AuthMe build number:
2427