I have a pair of RHEL 8.5 servers - one on a cloud host and one on a server in my office behind a Sophos XG106w. Both servers running MySQL 8.0.28 as a master/slave pair - the cloud one is the master and the local one a slave for backup purposes.
All worked fine for about a year until I upgraded the XG from 18.5.1 MR1-Build326 to 18.5.2 MR2-Build380. The replication stopped working. I've just tried the latest 18.5.3 MR3-Build408 and that also breaks the replication.
The error shown from 'show slave status' in MySQL is:
error connecting to master 'repl@xxx.xxx.xxx.xxx:3306' - retry-time: 60 retries: 1 message: Lost connection to MySQL server during query
There is nothing in the firewall logs for that destination IP address and port. I have no specific firewall rules on the XG for that destination, it should be covered by a general LAN to WAN any host, any service outgoing one.
An rsync command between the same servers works fine to replicate files, it is only MySQL replication that is broken.
As soon as I switch back to 18.5.1 firmware, it starts working immediately.
How can I find out what is causing the connection to be lost and then fix it?
Thanks,
Stephen.
This thread was automatically locked due to age.