我安装了WAMP,它已经以二进制方式记录了数据库中的所有更改。我找到了日志,当执行SHOW BINARY LOGS时,mysql控制台也会显示它们。但是,当我尝试通过执行以下命令来阅读它们时:
mysqlbinlog mysql-bin.000197
它给了我这个错误:
ERROR 1016(42000) 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 'mysqlbinlog mysql-bin.000197' at line 1
MySQL版本是5.5.20
您是否使用过shell命令?
shell> mysqlbinlog mysql-bin.000197
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句