Results 1 to 3 of 3

Thread: mysql access error

  1. #1

    mysql access error

    I'm trying to access mysql.
    I'm using the terminal and typed in "mysql"

    I then get the error:

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

    What does this mean and how can I fix this?

    (I tried to use Tora as well, but got the same error)

  2. #2
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re:mysql access error

    is mysql running???

    try ps -ax | grep mysql

    who are you doing it as, root or a regular user?




  3. #3

    Re:mysql access error

    Remember that the mysql program is just the client. If the server isn't running, just run:

    safe_mysqld &

    Of course if you are wanting to connect to a different host. Just use the -h switch.

    mysql -h 192.168.0.1

Similar Threads

  1. List of fixes included in Windows XP SP2
    By regix in forum Windows - General Topics
    Replies: 6
    Last Post: 01-03-2005, 11:44 PM
  2. New Features that are included in Access 2000
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 03:17 AM
  3. GL not working ati 7000
    By Mip in forum Linux - Software, Applications & Programming
    Replies: 19
    Last Post: 10-28-2004, 09:29 PM
  4. Questions,sound, aureal, using MDK 9.0
    By SuperRobotic in forum Linux - General Topics
    Replies: 12
    Last Post: 02-10-2003, 02:31 PM
  5. Tid-Bits #6- GRUB error code
    By babbing in forum Linux - General Topics
    Replies: 2
    Last Post: 09-10-2002, 08:44 AM

Bookmarks

Posting Permissions

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