error [2002]can't connect to MySQL server through socket '/tmp/mysql.sock'

Discussion in 'MySQL' started by pratik954, Apr 10, 2008.

  1. pratik954

    pratik954 New Member

    Joined:
    Jan 26, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    hey,

    I have installed mysql on my CentOs system. and it installed succefully.
    but when i m trying to login into it with command " mysql -u root -p " , it gives this error

    error[2002]can't connect to MySQL server through socket '/tmp/mysql.sock'

    plz plz help me to solve this problem.

    pratik.
    pratik@netedgetechnology.net
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice