title: Same ID error when I try to replicate databases
body: <p>I'm not able to replicate a database from a live server to local server(which is accessible from outside).</p>
  
  <p>I got this error on master server</p>
  
  <blockquote>
    <p>Fatal error: The slave I/O thread stops because m<br>
    aster and slave have equal MySQL server ids; these ids must be
    different for rep<br>
    lication to work (or the --replicate-same-server-id option must be
    used on slave                                               but this
    does not always make sense; please check the manual before using it).</p>
  </blockquote>
  
  <p>On the master server when I type <code>SHOW SLAVE STATUS \G</code> </p>
  
  <p>On Phpmyadmin I got this error:</p>
  
  <blockquote>
    <p>Slave IO Thread not running!</p>
  </blockquote>
  
  <p>my master my.cnf file</p>
  
  <pre><code>[mysqld]
  local-infile=0
  datadir=/var/lib/mysql
  socket=/var/lib/mysql/mysql.sock
  user=mysql
  # Disabling symbolic-links is recommended to prevent assorted security risks
  symbolic-links=0
  server-id=1392211409
  log-bin=mysql-bin
  log-error=mysql-bin.err
  binlog_do_db=vapes4you
  binlog_format=ROW
  [mysqld_safe]
  log-error=/var/log/mysqld.log
  pid-file=/var/run/mysqld/mysqld.pid
  </code></pre>
  
  <p>my slave file is</p>
  
  <pre><code>[mysqld]
  datadir=/var/lib/mysql
  socket=/var/lib/mysql/mysql.sock
  user=mysql
  # Disabling symbolic-links is recommended to prevent assorted security risks
  symbolic-links=0
  server-id=1392211002
  master-host=********
  master-user=vapesbackup
  master-password=********
  master-port=3306
  replicate-do-db=dbname
  master-connect-retry=60
  [mysqld_safe]
  log-error=/var/log/mysqld.log
  pid-file=/var/run/mysqld/mysqld.pid
  </code></pre>
  
  <p>could anyone help me? thanks for reading</p>