#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    31
    Rep Power
    15
    I am running Redhat 6.2 and installed the following MySQL from this document. All was well until I tried to start the daemon. It spitted out an error:

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

    Any ideas?? Prior to installing the tarred MySQL I had the RPM MySQL from Red Hat running. I thought it could be file permissions because Red Hats MySQL creates a user mysql and runs stuff under that.
    Anybody know what's wrong??
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    35
    Rep Power
    15
    as they say RTFM!

    check out the documentation, it has a part on "problems starting mysqld"

    things it mentions:
    - check you don't already have mysql running. that rpm might have left a start up script lying around or there may be an entry in rc.local which has beat you to it
    - check the error log. it's in the data directory, with name 'hostname.err' where hostname is the name of your box
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    lexington, ky, USA
    Posts
    5
    Rep Power
    0
    I had that exact same problem.
    How are you trying to start the dameon? You MUST go to the directory that mysql is installed in, and run "./safe_mysqld &" it then creates mysql.sock.
    its easier to use the RPM version of MySQL, the setup is alot easier, and it installs everything so you dont have to worry about making the binaries.

    ------------------
    -Casey

Similar Threads

  1. Mysql problem.
    By Nik in forum MySQL Help
    Replies: 54
    Last Post: December 21st, 2006, 07:02 PM
  2. Upgrade from access to mysql
    By karib1 in forum ASP Programming
    Replies: 7
    Last Post: December 16th, 2003, 01:35 PM
  3. Upgrade from access to mysql
    By karib1 in forum MySQL Help
    Replies: 1
    Last Post: December 16th, 2003, 01:27 AM
  4. problem: asp files, from access to mysql
    By karib1 in forum MySQL Help
    Replies: 1
    Last Post: November 26th, 2003, 04:16 AM

IMN logo majestic logo threadwatch logo seochat tools logo