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