Im trying to get mysql running on my OSX machine.
I downloaded the DMG from here: http://dev.mysql.com/downloads/mysql/ After downloading I go to Preferences -> MySQL -> Start MySQL Server. It will wait for a couple seconds and then go back to "The MySQL Server Instance is stopped"
when i go to the terminal I try starting the server with mysld.server start but the command is not recognised "service mysqld start" yields the same result
mysql -version yields ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
the mysql.sock file doesn't exist at this locationnor does it exist at /tmp. Ive read that it should be created when you start the server but I cant start it therefore it cant be created.
I get the same problem when I try installing via home brew.
Appreciate advice folks can provide.