程序连接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
阅读: 19826
阅读: 16958 评论:1
阅读: 16072
阅读: 15972
阅读: 15539
阅读: 15301
扫扫关注微信