I get this error when I try to start mysql through ssh
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
and this is what shows up in my php scripts that are trying to access mysql:
Could not connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I really am not sure how this happened. What happened was I turned the register_globals variable on in my php.ini file, rebooted. Then, turned it off, and rebooted. Ever since then I've had this error which I don't quite understand. Anybody know how to fix this?