总会在 MySQL 的日志中见到[ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure之类的错误
需要按照如下的格式在 Linux 的 —— 而不是 MySQL 的 —— 命令提示符下运行:
(1) mysql_upgrade -u root -p
(2) mysqlcheck -uroot -p 数据库名 --auto-repair
转载于:https://blog.51cto.com/8789878/1837384