问题
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