Update: This issue is now fixed in MySQL Workbench 6.3.9
After upgrading MySQL Workbench 6.2 to 6.3, my Workbench displayed Mac’s spinning wheel of death almost all the time, even with the most simple query:
SELECT * FROM ecruite.MenuItem;
The queried table consists of 4 rows with 10 columns each and approx. 10 characters each. So it should be done in no time. Except if you’re using macOS Sierra and MySQL Workbench 6.3 you get the spinning wheel.
According to a user on SO, it’s a known bug and popped up with the introduction of a new security feature in Sierra: “Gatekeeper Path Randomization“.
As long as there is no bug-fixed version of MySQL Workbench, here is a workaround until MySQL releases a new version:
- Open MySQL Workbench :)
- Right click on your connection (most likely “localhost” or “127.0.0.1”)
- Choose “Edit connection”
- On the right hand window select “Connection > SSL”
- Change “Use SSL” from “If available” to “No”
- Now click on the tab “System Profile”
- Choose “MacOS X” as System Type
- Click “Test connection”
Now open the edited connection in a new tab and open the same connection again in a second tab. For whatever reason, the ever-loading queries were gone and I got my results within no time – 0.00051s for the before-mentioned query.
SO Thread: MySQL Workbench hangs on simple queries
Sierra and Gatekeeper Path Randomization
3 responses to “Quick Tip: MySQL Workbench 6.3 (macOS Sierra) hangs on simple queries”
This didn’t solve the problem. The app still crashes
Unfortunatelly the app crashes from time to time, but that’s another bug. If you open the 2nd tab with the same connection, it never freezes.
It worked for me on MySQL Workbench 6.3.8 build 1228 CE (64 bit). Thanks