帮助我解决以下关于奴隶的问题..
mysql> show slave status\G
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: isp-db-mysql-1.be.infra
Master_User: slave
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: isp-db-mysql-1.052619
Read_Master_Log_Pos: 3138691
Relay_Log_File: isp-db-mysql-1-relay-bin.000002
Relay_Log_Pos: 32861
Relay_Master_Log_File: isp-db-mysql-1.052556
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 0
Last_Error:
Skip_Counter: 0
Exec_Master_Log_Pos: 8109731
Relay_Log_Space: 6642282995
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: 1111111
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 0
Last_SQL_Error:
1 row in set (0.01 sec)
继电器日志位置没有移动,这使得从机延迟如上所示..
我试图拉binlog我得到了这个错误
@ mysqlbinlog未知变量'default-character-set = utf8'
在my.cnf binlog模式中混合
我试过停止奴隶,开始奴隶.. 什么都没有用..
需要快速帮助,这是刺激问题: - (
将master更改为已更改的日志,pos是唯一的wrk?
答案 0 :(得分:0)
检查mysql日志。应该有一个错误。任何错误都将停止复制。
您可以通过告知复制忽略错误来快速解决此问题,但这可能会导致复制不一致!查看这篇文章:http://www.howtoforge.com/how-to-skip-certain-errors-in-mysql-replication