I'm getting an error when connecting to mysql (5.7) using mysqlworkbench:
“mysql Table ‘performance_schema.session_variables’ doesn’t exist”
Press "win+R", enter cmd and enter the bin folder under the mysql installation directory,
Execute: mysql_upgrade -u root -p --force
Restart mysql: (re-win+R, cmd to enter)
Start mysql: enter net start mysql;
stop mysql: enter net stop mysql;
Reconnect mysql on mysqlworkbench