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

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

原文地址:https://www.cnblogs.com/jecyhw/p/5009345.html