微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在Mavericks / Mac(10.9.2)上正确安装MySQL?

我花了一夜之间让我的Mac上运行mysql.我陷入了以下循环:

iMAC:~ admin$brew install MysqL
Warning: mysql-5.6.16 already installed

iMAC:~ admin$MysqL.server start
Starting MysqL
. ERROR! The server quit without updating PID file (/usr/local/var/MysqL/iMAC.local.pid).

iMAC:~ admin$MysqL.server restart
 ERROR! MysqL server PID file Could not be found!
Starting MysqL
. ERROR! The server quit without updating PID file (/usr/local/var/MysqL/iMAC.local.pid).

iMAC:~ admin$launchctl load ~/Library/LaunchAgents/homebrew.mxcl.MysqL.plist
homebrew.mxcl.MysqL: Already loaded

iMAC:~ admin$brew uninstall MysqL
Uninstalling /usr/local/Cellar/MysqL/5.6.16...
Error: Permission denied - /usr/local/Cellar/MysqL/5.6.16

iMAC:~ admin$brew uninstall MysqL --force
Uninstalling MysqL...
Error: Permission denied - /usr/local/Cellar/MysqL/5.6.16

任何线索如何使其工作?

解决方法:

这些问题似乎相关,那里的答案可能对您有所帮助:

> PID error on mysql.server start?
> After MySQL install via Brew, I get the error – The server quit without updating PID file

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐