Reputation: 3898
I have spent overnight to get mysql working on my Mac. I am stuck in the following loop:
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
Any clues how to make it work?
Upvotes: 4
Views: 4810
Reputation: 2108
These questions seems related and the answers there might help you:
Upvotes: 2