1、主从复制错误:
Replicate_Wild_Ignore_Table: Last_Errno: 1317 Last_Error: Query partially completed on the master (error on master: 1317) and was aborted. There is a chance that your master is inconsistent at this point. If you are sure that your master is ok, run this query manually on the slave and then restart the slave with SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE; .
具体查询了一下mysql的master的binlog查到了出错的语句,是复制数据到另外一个表出错导致,可能是复制过程中人为终止操作,倒是数据不一致,从服务器没有执行此操作。个人认为最好的方法是把从库重新做一遍,直接跳过这个错误可能数据会不一致。后来问了一下开发人员,是他们做了个sql插入,但是因为sql执行太慢,终止了,导致从数据库停止同步。