Running OS X Leopard an MacBook Pro from Jan. 2008.
I used to run mysql server from a package but then rails started putting a warning that I should install mysql from gem: gem install mysql
It did not work, I got the following error message:
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ER...
I am trying to create the file mysql.sock as with the following permissions
srwxrwxrwx 1 mysql mysql 0 2009-10-07 09:55 mysqld.sock
I know this is done with mknod, but I am not sure of the parameters. I don't want the C programming documentation, just a command for the bash shell
...
I'm trying to get mysql running on my mac. I used macports for the initial install but can't get past this mysql socket error.
Note: macports appends the version number to commands if they look odd below.
Error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
I get this error when:
mysqladmin5 -u ro...
This is a recent problem... MySQL was working and a couple of days ago I must have done something. I deleted MySQL and tried reinstalling using the .dmg file. The mysql.sock file never gets created and I get the following error messages:
Hristo$ mysql
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socke...