Since a couple of days I'm trying (unsuccessfully) to start a replication between two MySQL 8.0.31 running each in a docker on a custom port. This always fails with (Original Post):
Last_IO_Errno: 2003
Last_IO_Error: error connecting to master '[email protected]:33060' - retry-time: 60 retries: 1 message: Can't connect to MySQL server on 'xx.xx.xx.xx:33060' (110)
On my host is also an unused MariaDB running. So I made the same replication setup as used for the MySQL and this runs like a charm.
Now I'm wondering if MySQL has an issue when it runs in a docker? Is somebody here who is running the official MySQL docker image in a replication environment?
I urgently need to get this thing up and running and would be grateful for any help!
mysql -u
and checked theGRANTS
several times (4) it's running on Ubuntu 20 - meanwhile I could find out that it works from Server2 -> Server1 but not from Server1 -> Server2. The strange thing is that both servers are identical (of course different IP) but they have an identical setup.