Monday, 6 August 2018

Step by Step Mysql Replication on Centos


Overview on Mysql Replication:


Mysql Replication is the process to copy your main Mysql server data to the many more servers. Or we can say that to keep data as backup then we can enable this mysql replication and have copy of the databases to slave servers for any recovery or backup.
Here we are going to create Master Slave Mysql Replication. So we will be using 2 servers where 1 will be the Master and 2nd will work as Slave.
Master Server: 192.168.1.2
Slave Server: 192.168.1.3
Steps to Start Mysql Replication:-
1: Need to create a backup on the Master Server
2: Copy the backed up data file to the Slave.
3: Need to configure the master mysql server.
4: Now configure the slave server.
5: Then allow the privileges to the slave server on master server
6: Start mysql replication
Steps for setup :
Mysql installtion –
1) Master server configuration
Configuration done on Master.
2) Configuration on Slave Server

0 comments:

Post a Comment