We recently upgraded our server MySQL version from 8.0.20-11 to version 8.4.5-5 for Linux on x86_64 (Percona Server (GPL), Release 5, Revision 3d3abca6).
We imported the MySQL dump, transferring it to the DR DB servers, and then adjusting the replication settings in E2 server/slave server. Unfortunately, the synchronization issue persists.
Yes. We are currently using caching_sha2_password. If mysql_native_password is ON, the MySQL service does not come up. SO we are currently using caching_sha2_password
This error, Authentication requires secure connection, indicates that your MySQL 8.4 replica is attempting to connect to the master server, but the user account being used is configured to require an encrypted, secure connection (SSL/TLS), and the replication client is not providing one.
This is a common issue because MySQL 8.4 has enhanced security features and stricter default settings. A user might be created with REQUIRE SSL, or the server’s require_secure_transport variable might be enabled.
Thanks for your support. We were able to fix the replication. Unfortunately, we face an issue while trying to login to MySQL. The access gets denied multiple times due to unknown reason.
we also face another issue when we connect to mysql. We get connection time out when we restart the mysql service and then try to connect to mysql. Please find the screenshots of the error attached.
Thanks for your support. We were able to fix the replication. Unfortunately, we face an issue while trying to login to MySQL. The access gets denied multiple times due to unknown reason.
we also face another issue when we connect to mysql. We get connection time out when we restart the mysql service and then try to connect to mysql. Please find the screenshots of the error attached.
I just tried to copied the public_key.pem file of my servers and copied it the replica server. When I do this, the mysql service fails. When we start the replica service and then access the SQL, it shows this result:
“mysql> show replica status\G;
ERROR 2013 (HY000): Lost connection to MySQL server during query
No connection. Trying to reconnect…
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (111)
ERROR:
Can’t connect to the server“