I want to add Server3 to MySQL Master & Replicate it as slave, When I run [start slave;] I am getting below error
"ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MASTER TO"
I have checked all the configuration of my current slave (Server2) but unable to find any solution or fix.
Altered with solution
Step1: GRANT REPLICATION SLAVE ON . TO 'slave_user'@'master_ip' IDENTIFIED BY 'slave_pass'; FLUSH PRIVILEGES;
Step2: FLUSH TABLES WITH READ LOCK; mysqldump --all-databases --single-transaction > all_databases.sql
Step4: CHANGE MASTER TO MASTER_HOST='master_ip', MASTER_USER='slave_user', MASTER_PASSWORD='slave_pass', MASTER_LOG_FILE='mysql-bin.000071', MASTER_LOG_POS=754916280;
I got MASTER_LOG_FILE & MASTER_LOG_POS from "show master status\G" command which I ran on master server
@Zafar Malik: please correct if the step are correct.