title: Error 1794 loading mysql 5.6 master dump while configuring replication slave
body: <p>E:>mysql -u root &lt; masterDump.db
      ERROR 1794 (HY000) at line 22: Slave is not configured or failed to initialize properly. 
      You must at least set --server-id to enable either a master or a slave.
      Additional error messages can be found in the MySQL error log.
  There was no additional messages in the error log.</p>
  
  <p>In their respective my.ini files (Yes, I'm on Windows)
  The master server-id=1
  The slave  server-id=2</p>
  
  <p>When I open the dump file and look at line 22 this is what I have (X's inserted for privacy):
  <code>CHANGE MASTER TO MASTER_HOST='1X2.21.42.XXX', MASTER_PORT=3306, MASTER_USER='replicant', MASTER_PASSWORD='MasteAccessXXX', MASTER_LOG_FILE='mysql-bin.000004', MASTER_LOG_POS=335723162;
  </code>           
    Clearly I don't have --server-id on that line but it is not part of the "CHANGE MASTER TO" command (<a href="http://dev.mysql.com/doc/refman/5.6/en/change-master-to.html" rel="noreferrer">http://dev.mysql.com/doc/refman/5.6/en/change-master-to.html</a>)</p>
  
  <p>I started the slave like it said:</p>
  
  <blockquote>
    <p>mysqld --skip-slave-start </p>
  </blockquote>
  
  <p>Does anyone have an idea what I am missing?</p>
  
  <p>Thanks,</p>
  
  <p>Andrew</p>