问题展示:
[root@localhost bin]# "/usr/local/mysql-8.0.11/bin/mysqlbinlog" "/usr/local/mysql-8.0.11/data/binlog.000025"
mysqlbinlog: [ERROR] unknown variable 'default-character-set=utf8'
解决方法:
加入个 –no-defaults 参数就好了。
[root@localhost bin]# "/usr/local/mysql-8.0.11/bin/mysqlbinlog" --no-defaults "/usr/local/mysql-8.0.11/data/binlog.000025"
喜欢的点个赞?吧!