gpt4 book ai didi

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

转载 作者:可可西里 更新时间:2023-11-01 07:37:13 25 4
gpt4 key购买 nike

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

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

有什么线索可以让它发挥作用吗?

最佳答案

关于mysql - 如何在 Mavericks/Mac (10.9.2) 上正确安装 MySQL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22117523/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com