MySQL wont start! (error 2002 and other)

Discussion in 'Mac Programming' started by Keytachi, Apr 14, 2007.

  1. Keytachi macrumors regular

    Joined:
    Sep 14, 2006
    #1
    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
     
  2. localoid macrumors 68020

    localoid

    Joined:
    Feb 20, 2007
    Location:
    America's Third World
  3. Keytachi thread starter macrumors regular

    Joined:
    Sep 14, 2006
    #3
    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...
     

Share This Page