Chinaunix

标题: 使用mysqlbinlog时出错,求助!!! [打印本页]

作者: akkuge    时间: 2011-07-14 11:21
标题: 使用mysqlbinlog时出错,求助!!!
mysqlbinlog --stop-position="691299675" mysql-bin.000042|mysql
ERROR 1064 (42000) at line 12: 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 '' at line 2
作者: 飞鸿无痕    时间: 2011-07-15 08:55
回复 1# akkuge


try  mysqlbinlog --stop-position="691299675" mysql-bin.000042 | grep -v "RELOAD DATABASE" |mysql
作者: huzi1986    时间: 2011-07-15 10:11
试试这样
mysqlbinlog  mysql-bin.000042 --stop-position=691299675 |mysql




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2