Search code examples
mysqlruby-on-railshomebrewchown

Using Hivelogic MySQL again after installing Homebrew


I previously installed mysql using the Hivelogic compilation method.

http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/

Then I installed Homebrew. Which broke it. Here's why.


Solution

  • As it says in Installing to /usr/local for Developers, homebrew chowns 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.