Tables could not be fetched - Error loading schema content

偶尔善良 提交于 2021-01-23 05:40:04

问题


I open workbench and connect to a local database on XAMPP and when open the connection the schema show the error message:

"tables could not be fetched"


回答1:


run this command on terminal

sudo /opt/lampp/bin/mysql_upgrade



回答2:


run this command on terminal

mysql_upgrade -u root -p



回答3:


That's because the latest XAMPP use MariaDB and MYSQL Workbench is using MYSQL Database, so they are not fully compatible, raising that error for example.You can try to downgrade to some of the previous XAMPP versions.




回答4:


For XAMMP, this worked for me - run this on terminal:

sudo /Applications/XAMPP/xamppfiles/bin/mysql_upgrade

Disconnect then reconnect to your db.



来源:https://stackoverflow.com/questions/56564410/tables-could-not-be-fetched-error-loading-schema-content

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