MySQL Workbench: No objects selected

2020-08-09 06:10发布

问题:

I have installed MySQL Workbench in my machine. But now I'm unable to select a table on left hand side. Here's what I have currently:

How can I get to the tables in my database?

回答1:

Watch out in which area you are in MySQL Workbench. Currently you have the admin section active. Use the tabs to switch to the SQL section to view your db objects:

Vs.

Btw, you screenshot looks strange. This "No objects selected" box is from the SQL section but shown (much too large) as overlay over some parts of the admin sidebar section. Whatever you did to get to this state is really interesting. If you see this frequently I recommend that you file a bug report with all necessary details (you ommitted here), like the OS, WB version etc.

Update:

Maybe you can solve this by not using the combined mode for admin + sql sections. If you switch that off (what I recommend anyway) you get 2 tab pages as I have shown in my screenshots. For that go to the settings and disable combined mode (the last option in that screenshot):

Also, make sure you have the latest version of MySQL Workbench (atm. 6.3.3).



回答2:

pull the scroll bar downward. i had the same issue but all i needed to do was to extend the navigation menu.



回答3:

The configuration setting worked for me:

Edit -> Preferences -> SQL Editor -> Sidebar -> Combine Management Tools and Schema Tree (unselected)

This enables the navigation tabs 'Management' and 'Schemas' in the sidebar.

GNU/Linux, MySQL Workbench 6.2 Community, Version 6.2.5.0 build 397 (64 bits)