Find the answer to your Linux question:
Results 1 to 3 of 3
Hello. After I typed in mysql in the command prompt in Red Hat Linux, it gives me this message: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    4

    Problem with MYSQL


    Hello. After I typed in mysql in the command prompt in Red Hat Linux, it gives me this message:

    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    If I type in /etc/init.d/mysql start, it tells me that:
    Starting MySQL................................... [FAILED].

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Check the logs (/var/log/messages and related files) for clues as for why MySQL refuses to start.

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Location
    Tunisia
    Posts
    28
    Can u parse to us error log plz ?

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •