Try doing a `brew update` and `brew install mysql` -- it should supply instructions for getting MySQL running after the install completes.
James On Fri, Jul 29, 2011 at 12:08 PM, Scott Olmsted <[email protected]> wrote: > I got a Mac mini last summer and installed Homebrew, Rails, MySQL > 5.1.49, and a few other tools. I then got really busy and never got > back to it (I'm reasonably productive on Ubuntu). > > Now I want to get back to the Mac. I updated OS X, which I think was > what brought that to 10.6.8. > > But trying > > mysql -u root -p > > gives > > ERROR 2002 (HY000): Can't connect to local MySQL server through > socket '/tmp/mysql.sock' (2) > > mysql is not running (nothing from 'ps aux'), but I am unable to start > it: > > $ mysql.server start > Starting MySQL > . ERROR! Manager of pid-file quit without updating file. > > and nothing I can find online helps, though I get hints that the > upgrade to 10.6.8 may be at fault. I can't find a my.cnf file > anywhere. > > Perhaps I need to reinstall MySQL 5.1 with homebrew, though I'm not > sure how to do that. > > Thanks for any help you can give me. > > Scott > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
