MYSQL Master/Slave Replication Error
Struggling with MYSQL Master/Slave replication.
I followed the the DigitalOcean document for setting up the MYSQL Master/Slave replication. https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql#see-more
Both servers only allow SSH login and the SCP command to move copy the database dump required me to use my “admin” account and required me to enter my SSH passphrase.
the SQL.CNF has the requiresecuretransport = on
The connection error I get from SHOW SLAVE STATUS\G is below
LastIOError: error connecting to master ’<replication_account_name>@<priv_ip_address>:3306’ - retry-time: 60 retries: 23
Do I need to create a SSH key for the <replication_account_name> account on both servers or is the fix something else? If so what?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×