Comments - Setting Up Replication

7 years, 4 months ago Silviu Dan Tanasie

After setting up a Galera cluster and realising is not exactly what I needed I decided to go for a master-slave setup. I set wserp_on=OFF and went through this guide.

As far as I know I did everything right but for some reason my slave gets Permission denied when connecting to the master. Thing is, if I connect manually from the slave to the master like: mysql -u master -p --host ip --port port then it connects without a problem. The user master is set with replication privileges. I am using MariaDB 10.1.21 on Centos 7.

Maybe it's a bug ?

 
7 years, 4 months ago Silviu Dan Tanasie

Turns out semanage prevented the client machine from connecting remotely.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.