程序连接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
阅读: 19545
阅读: 16612 评论:1
阅读: 15712
阅读: 15545
阅读: 15268
阅读: 15031
扫扫关注微信