Mysql 升级重装后连接出错 Table \'performance_schema.session_variables\' doesn\'t exist

升级重装后  连接出错 
报这个错误
Table 'performance_schema.session_variables' doesn't exist
 
使用这个命令即可  
[root@localhost ~]# mysql_upgrade -u root -p --force
 
作用:mysql_upgrade 检查不兼容的表,更新grant

 

posted @ 2017-10-10 21:54  乌托邦眺望  阅读(271)  评论(0编辑  收藏  举报