MySQL:运行mysql时,提示Table ‘performance_schema.session_variables’ doesn’t exist

docker exec -it docker_mysql_id /bin/bash
mysql -uroot -p123456

mysql_upgrade -u root -p --force
exit

docker restart docker_mysql_id 

你可能感兴趣的:(存储数据,mysql,数据库)