程序连接mysql发生错误:
Unexpected error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'performance_schema.session_variables' doesn't exist (SQL: show variables like 'collation_database')
解决办法:
进入mysql 的bin目录执行:
./mysql_upgrade -u root -p
阅读: 20663
阅读: 17761 评论:1
阅读: 17111
阅读: 16897
阅读: 16251
阅读: 16051
扫扫关注微信