ubuntu14.04 mysql-workbench Connecting to MySQL server ... Native table 'performance_schema'.'session_variables' has the wrong structure错误解决

使用的mysql版本:

mysql  Ver 14.14 Distrib 5.7.9, for Linux (x86_64) using  EditLine wrapper

打开shell命令

1.输入:mysql_upgrade -uroot -p

2.重启mysql服务:service mysql restart

在重新连接就应该可以了,如果不行就重启电脑试试

你可能感兴趣的:(ubuntu14.04 mysql-workbench Connecting to MySQL server ... Native table 'performance_schema'.'session_variables' has the wrong structure错误解决)