我安装了 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