Unsupported workaround if the DBD::MySQL driver fails to establish a TLS-encrypted connection to MySQL servers with caching_sha2_password enabled
Issue
Perl applications fail to establish a connection if all of the following conditions are met:
- The application connects to a MySQL 8 server.
- The
caching_sha2_password
option is enabled in the MySQL server configuration. - The connection uses the
DBI->connect with mysql_ssl=1
option.
If the problem appears, Perl displays an error, such as failed: SSL connection error: Enforcing SSL encryption is not supported
.
This bug is tracked in the RHEL-77083 ticket.
Environment
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.