程序连接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
阅读: 20059
阅读: 17193 评论:1
阅读: 16368
阅读: 16347
阅读: 15750
阅读: 15521
扫扫关注微信