MySQL issue: Table 'data_dictionary.CHARACTER_SETS' doesn't exist

萝らか妹 提交于 2020-01-11 09:08:32

问题


Recently I have updated from MySQL 5.1 to 5.5 and after few weeks the following error message was displayed each time I access the phpMyAdmin application:

1146 - Table 'data_dictionary.CHARACTER_SETS' doesn't exist

I have investigated the issue to the point where I have been forced to downgrade the MySQL service to 5.0.95 and then to upgrade the service once again to 5.1.

None of the above outlines steps however resolved the issue and the error message in questions still persist . This error disables me to access any database/table via the phpMyAdmin interface.

The error logs on the server are not providing additional information at all. The checked logs were:

-> mysql.err log -> the cpanel error log

Any help will be highly appreciated


回答1:


Run sudo mysql_upgrade -u root -p --force

Then restart mysql

i.e. sudo service mysql restart or sudo service mysqld restart depending on the version and distribution you have

You need to logout of phpMyAdmin then login for the change to take effect.




回答2:


I was facing the same problem. It can be resolved by reconfiguring phpMyAdmin.

 sudo dpkg-reconfigure phpmyadmin

Close phpMyAdmin page and



来源:https://stackoverflow.com/questions/19121383/mysql-issue-table-data-dictionary-character-sets-doesnt-exist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!