MySQL与MacOS Sierra的兼容性

Bob*_*Bob 31 mysql mysql-workbench macos-sierra macos-high-sierra

有没有人知道macOS Sierra上与MySQL社区服务器/工作台有任何兼容性问题或怪癖?我最近在以前从未使用过MySQL的Mac上进行了安装,但它似乎没有正常工作.(现在也许我只是把它设置错了,但是因为安装程序没有提供似乎不是这种情况的高级选项.)

我可以创建模式和表,但是当我去实际查询表时没有任何反应.活动指标无休止地旋转.我看了一下活动监视器,它没有显示mysqld实际做任何事情 - 整个设置似乎已经陷入僵局.有任何想法吗?

这是我正在尝试使用的内容:

  • MySQL社区服务器5.7.15
  • MySQL Workbench 6.3.7
  • macOS Sierra 10.12(16A323)

小智 23

我有同样的问题.我发现你打开的第一个实例只是在试图运行简单的select语句时继续旋转,这似乎是没有理由的.一旦打开而没有关闭所有MySQL Workbench,你甚至无法关闭它.但是,如果再次打开相同的实例,它似乎工作正常.


gmo*_*gmo 13

UPDATE!

macOS High Sierra 需要 MySQL Workbench 6.3.10

请参阅6.3.10版本的changelog


已在6.3.9版中得到解决

测试:

macOS Sierra
版本10.12.3(16D32)

MySQL的

Workbench 6.3.9
版本6.3.9 build 10690321 CE(64位)社区
----> OK

下载:MySQL Workbench 6.3.9
Sierra(10.12)软件包与El Capitan(10.11)兼容,Yosemite(10.10)

变更日志:等等......

  • 在某些情况下,当主机是macOS Sierra时,执行查询会导致MySQL Workbench无响应.(Bug#25036263,Bug#83658)


以下代码段中的原始答案:

I ***temporary*** solved changed the ***group*** of the application.  

I tried everything, uninstalling, reinstall, change many settings... finally I thought that must be something with the security... was not normal, I check firewall rules, nothing... And just in case, I try with file permission and it was there.

I was installed in the ***admin group***.  
Changed to ***staff*** solve the problem.  

    $ sudo chown <USER>:staff /Applications/MySQLWorkbench.app

> <sup>Where of course, `<USER>` is **your** username</sup>

    Ex.
    $ sudo chown gmo:staff /Applications/MySQLWorkbench.app

Tested and working!

 - Go back to admin group... problem came back.
 - Changed to staff again... problem solved.

I hope this is a global solution, please check yours.


###Edit:
Solution not stable, problem came back after a few attempts.  
Try with `root:admin`, the same... 

---

### UPDATE
*`Workaround until new version is release`*

Roll back to 6.2 version and working good.

Tested on:
> macOS Sierra  
> Version 10.12 (16A323)

MySQL
> Workbench 6.3  
> Version 6.3.7 build 1199 CE (64 bits) Community  
> http://dev.mysql.com/downloads/workbench/6.3.html  
> `----> FAILS`  
> <sup>*Randomly, even changing group or creating new instances.*</sup>

> Workbench 6.2  
> Version 6.2.5.0 build 397 (32 bits) Community  
> http://dev.mysql.com/downloads/workbench/6.2.html  
> `----> OK`  
> <sup>*Work as expected.*</sup>
Run Code Online (Sandbox Code Playgroud)


Bob*_*Bob 1

我想我明白了!这可能与密码的长度有关。 起初,为了方便起见,我只是设置了一个单字符密码,但在尝试将 Eclipse BIRT 报告软件与 MySQL 连接时遇到了一些问题。我更改了密码以使其更长,这解决了 BIRT 的问题,但更好的是,它似乎也解决了 Workbench 的问题!