#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    1
    Rep Power
    0
    Hi
    I have suse linux 6.3
    The proplem is that when I try to connect to mysql I receive this error:

    ERROR 2002: Can't connect to local MySQL server through socket
    '/tmp/mysql.sock'
    (111)

    There is no mysql.sock on my machine..
    Ive been looking for an answer on this postlist but not found..
    please help me .. :-)

    Anna



    ------------------
    Anna
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    73
    Rep Power
    15
    try this:

    At the comand prompt type


    /etc/inet.d/mysql start

    or else

    the path to mysqld/mysqld &

    eg.
    /usr/local/bin/mysqld &
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    1
    Rep Power
    0
    i have also a similar problem... im using RH7 i can only connect to mysql server using the root account. other user_name it displays the ERROR 2002: Can't connect to local MYSQL server through socket '/var/lib/mysql/mysql.sock' (111)...

    pls.. help....
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    singapore
    Posts
    21
    Rep Power
    0
    u need a daemon to connect to ur mysql server.
    Try typing "mysqld" at ur Konsole to activate the daemon. When finish type "mysqladmin shutdown" to close server.

Similar Threads

  1. mysql connect issue
    By slen in forum MySQL Help
    Replies: 1
    Last Post: February 17th, 2004, 04:33 AM
  2. Replies: 1
    Last Post: February 5th, 2004, 12:50 AM
  3. Can't connect to mySQL with asp.net using OLE DB
    By gregquinn in forum MySQL Help
    Replies: 0
    Last Post: February 2nd, 2004, 11:43 AM
  4. connect to mysql db server in another server
    By darcher in forum MySQL Help
    Replies: 5
    Last Post: January 13th, 2004, 11:22 PM
  5. 16bit ODBC connect to MySQL
    By percy in forum MySQL Help
    Replies: 0
    Last Post: December 28th, 2003, 09:38 PM

IMN logo majestic logo threadwatch logo seochat tools logo