In workbench it shows tables, stored procedures, views could not be fetched but all tables, views & stored procedures are present and I can use them too.
I get data also in my project which is live. Not a problem now but could a future threat.
In workbench it shows tables, stored procedures, views could not be fetched but all tables, views & stored procedures are present and I can use them too.
I get data also in my project which is live. Not a problem now but could a future threat.
I've just had your same problem and I found that in my Workbench I had this message:
Error loading schema content
Error Code: 1356 View 'view_name' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
I just saved the creation script of that view in a file and dropped it.
Then I refreshed the schema and the error was gone ;)
Hope it helps in your case!
Had the same issue once, I attempted the following -
DBMS
Read Time Out | DBMS Connection Keep-Alive Interval)
. Set it for a
longer time.Have you tried anything in here? Tables could not be fetched - Error loading schema content
I use XAMPP to connect to MySQL, and I needed to run this in terminal:
sudo /Applications/XAMPP/xamppfiles/bin/mysql_upgrade
There are other answers in there, as well.
If you are using Xampp go to C:\xampp\mysql\bin and double click on mysql_upgrade.exe. It should open and run the script in a terminal.
Then restart your mysql on the control panel, and restart mysql workbench.
It worked for me.