I.Configure Master
1. edit /etc/mysql/my.cnf. We have to enable networking for MySQL,
I.Configure Master
1. edit /etc/mysql/my.cnf. We have to enable networking for MySQL,
#skip-networking
2. Add the following line to the my.cnf
server-id = 1
log-bin=/storage/lun0/db/mysql/FLTVM01-bin
3. restart mysql
#service mysqld restart
4. log into the MySQL database as root and create a user with replication privileges:
#mysql -u root -p
mysql> GRANT REPLICATION SLAVE ON *.* TO ‘slaveuser’@'%’ IDENTIFIED BY ‘<some_password>’; (Replace <some_password> with a real password!)
mysql>FLUSH PRIVILEGES;


