I previously installed mysql using the Hivelogic compilation method.
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
Then I installed Homeb开发者_JAVA百科rew. Which broke it. Here's why.
As it says in Installing to /usr/local for Developers, homebrew chown
s everything under /usr/local to your user. MySQL uses the mysql user - bringing incompatibility.
sudo chown -R /usr/local/mysql /usr/local/mysql/*
for the win.
精彩评论