各位,我的从库是5.0.77版本。现出现一个问题,只有错误日志中报2013的错,接下来必报1064的错,然后slave就停止了。需要手工跳过这个错,请教我需要从哪几点考虑这个问题。
110304 14:51:00 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
110304 14:51:00 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'db77.000137' position 89254722
110304 14:51:00 [ERROR] Slave: Error 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '', lastregaddr ' at line 1' on query. Default database: 'a'. Query: 'DELETE from session where ide60.245.136', lastregaddr ', Error_code: 1064110304 14:51:00 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'db77.000137' position 89254596110304 14:51:00 [Note] Slave: connected to master 'repl@********',replication resumed in log 'db77.000137' at position 89254722