New answers tagged


I had the same issue when i cloned a VM to make the arbiter. Similar to what aldwinaldwin said, I had to change the ip address in this line in my /etc/hosts file " mongodb-arbiter.domain.local mongodb1-arbiter" to match the ip address of the server.


I am also facing the same issue on the server. GTID is always-on server, please use below MySQL command to disable GTID. SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY = OFF; SET @@GLOBAL.GTID_MODE = OFF_PERMISSIVE;


# For explanations see # [mysqld] pid-file = /var/run/mysqld/ socket = /mysql/data/mysql/mysql.sock #datadir = /var/lib/mysql datadir = /mysql/data/mysql log-error = /var/log/mysql/error.log # By default we only accept connections from ...

Top 50 recent answers are included