MySQL Workbench 6.3 (Mac) hangs on simple queries

后端 未结 14 912
一生所求
一生所求 2020-12-07 10:36

I am using MySQL Workbench 6.3.7 build 1199 CE (64 bits) on a Mac with OS X Yosemite 10.10.5. I am connecting to an Amazon RDS MySQL instance.

When I enter a simple

相关标签:
14条回答
  • 2020-12-07 11:23

    UPDATE 3: The problem is fixed for MacOS HighSierra in MySQL Workbench 6.3.10.

    UPDATE 2: It looks like the bug is recurring again in MacOS HighSierra. See https://bugs.mysql.com/bug.php?id=83658 for more details.

    There is an unofficial build that fixes the problem. You can download it at: https://drive.google.com/drive/folders/0B2fTesDcrHzVRGVFWEdILWpuaEE?usp=sharing

    The build was created by Bob Davenport. See https://bugs.mysql.com/bug.php?id=87714 for more details.


    UPDATE: The bug is fixed in MySQL Workbench 6.3.9.

    ----------------------- original answer -----------------------

    It is a known MySQL bug: http://bugs.mysql.com/bug.php?id=83658 caused by GateKeeper Path Randomisation introduced in MacOS Sierra. See https://weblog.rogueamoeba.com/2016/06/29/sierra-and-gatekeeper-path-randomization/.

    A possible workaround is to remove the Quarantine ACL:

    xattr -dr com.apple.quarantine "/Applications/MySQLWorkbench.app"
    
    0 讨论(0)
  • 2020-12-07 11:25

    The spinning wheel of death is due to the new feature introduced in the Sierra update called "Gatekeeper Path Randomization".

    Follow the instructions:

    • 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”

    Credits: http://cordobo.com/2398-mysql-workbench-6-3-macos-sierra-hangs-on-simple-queries/

    0 讨论(0)
  • 2020-12-07 11:26

    In my case, the IP address changed where mySQL was served. Flushing the DNS fixed it for me:

    sudo dscacheutil -flushcache;
    sudo killall -HUP mDNSResponder; 
    say cache flushed
    
    0 讨论(0)
  • 2020-12-07 11:28

    This is still an open bug in 6.3.8: https://bugs.mysql.com/bug.php?id=82231

    The possible workaround is to open secondary tab with the same connection and work in there. However it crashes anyway from time to time.

    Until the bug is fixed I use free Mysql Workbench aleternative for common work. For mac users I would suggest https://sequelpro.com.

    0 讨论(0)
  • 2020-12-07 11:29

    In my case, it was changing the connection->ssl->Use SSL setting from "If available" to "No". Workbench 6.3.8 on OSX 10.12.1 now works for me.

    0 讨论(0)
  • 2020-12-07 11:37

    To resolve this issue, I downgraded MySQL Workbench to 6.1. Now I am able to run my query and it doesn't hang.

    0 讨论(0)
提交回复
热议问题