PDA

View Full Version : MySQL wont start! (error 2002 and other)




Keytachi
Apr 14, 2007, 05:26 AM
when i issue the command:
"mysql -u root"
i get this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (13)

and when i use:
"sudo mysqld_safe --user=mysql &"
i get:
sudo: /private/etc/sudoers is mode 0644, should be 0440
postdrop: warning: unable to look up public/pickup: No such file or directory


i really need MySQL to work! can someone help me?
thx in advance



localoid
Apr 14, 2007, 06:51 AM
See: can't connect (http://dev.mysql.com/doc/refman/4.1/en/can-not-connect-to-server.html)

(The MySQL Reference Manual is your friend.)

Keytachi
Apr 14, 2007, 07:27 AM
i solved the "sudo: /private/etc/sudoers is mode 0644, should be 0440
postdrop: warning: unable to look up public/pickup: No such file or directory" error!! disk utility repair permission!
now i still need to fix the socket problem...