Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Downgraded from MYSQL 5, now mysql doesn't work

Discussion in 'General Discussion' started by RampantLion, Jun 19, 2006.

  1. RampantLion

    RampantLion Registered

    Jun 19, 2006
    Likes Received:
    Trophy Points:
    I followed the instructions here and downgraded MYSQL 5 back to mysql (4.0.27-standard)

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

    When I attempt to start or reboot MYSQL, I also get this error: /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").

    I have also rebuilt Apache and PHP after the downgrade.

    Upgrading to MYSQL 5 is not an option as several websites on the machine had scripts that were incompatible with version 5. Can someone please help me find a fix for my MYSQL not working?
  2. casey

    casey Well-Known Member

    Jan 17, 2003
    Likes Received:
    Trophy Points:
    Do a search for mysql and socket on these forums and follow the directions in the posts. There are several that deal with this. Also make sure that you don't have anything in my.cnf that would cause mysql not to start.

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