本帖最后由 xiaoxiao54562 于 2012-08-10 09:43:26 编辑

解决方案 »

  1.   

    在pc2上重新change master一下
      

  2.   

    试过了 没有用呢
    不过PC2的版本是5.0 PC1的版本是5.5 
    我刚尝试把PC1上的mysql删除,重新安装成5.0版本的 
    又出现其他问题了
    slave_io_running:NO
    state:connecting tp master
    错误日志是:
    120810 13:50:41 [Note] Error reading relay log event: slave SQL thread was killed
    120810 13:51:18 [Note] Slave SQL thread initialized, starting replication in log 'master_bin.000001' at position 98, relay log '.\slave-relay-bin.000001' position: 4
    120810 13:51:28 [ERROR] Slave I/O thread: error connecting to master '[email protected]:3306': Error: 'Access denied for user 'pxx'@'211.6.106.190' (using password: YES)'  errno: 1045  retry-time: 60  retries: 86400
      

  3.   

    我将版本换过来了,后来出现那个error:connecting to master 。那个问题
    是因为我创建的用户pxx 没有远程访问的权限 ,改成root就好了
    这都是windows下的replication过程,Linux环境下仍有待尝试!
      

  4.   

    120810 13:51:28 [ERROR] Slave I/O thread: error connecting to master '[email protected]:3306': Error: 'Access denied for user 'pxx'@'211.6.106.190' (using password: YES)'  errno: 1045  retry-time: 60  retries: 86400检查你的权限。