Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    17

    Default MySQL fail after update

    Hi Guys

    A got a new server with CentOS 5.0 and Cpanel.

    ConfigServer Firewall rocomend me to upgrade my system to MySQL 5 and Apache 2.2

    I do it like Tweak Settings Says.

    Selection 5.0 in Tweak Settings, after this a make a Upgrade to Server Software.

    After i haved compiled apache with easyapache with basic options + SuPHP.

    After i executed the /scripts/perlinstaller --force Bundle:BD::mysql script.

    After that MySQL doesnt work anymore.

    PHPMyAdmin says #2002 - The Server is not responding (or the server socket is not correctly configured)

    I tried /scripts/mysqlup -- force and receive this final lines.

    /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!

    What i forgot or what im making wrong?

  2. #2
    Member
    Join Date
    Sep 2006
    Posts
    17

    Default

    I forgot to mention...

    WHM 11.11.0 cPanel 11.16.0-R18450
    CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0

  3. #3
    Member
    Join Date
    Sep 2006
    Posts
    17

    Default

    I resolved my problem with a simply solution.

    mv /etc/my.cnf /etc/my.cnf.BAD
    /scripts/mysqlup --force

    Thanks Asusservice for the solution posten in page 5 of http://forums.cpanel.net/showthread.php?t=36503&page=5 topic.

  4. #4
    Member
    Join Date
    Aug 2005
    Posts
    14

    Default Thank you!

    Thank you for writting this post, it saved me a lot of time since I had the same problem

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    3

    Default

    Thanks as well , this solved my issue on RedHat 5 with a clean installation

  6. #6
    Member
    Join Date
    Sep 2004
    Posts
    8

    Default Thanks

    Great Fix!, i was having issue after an upgrade to mysql5.

  7. #7
    Member
    Join Date
    Jul 2007
    Posts
    11

    Default

    Seems to have worked beautifully. Thanks for the fix!

Similar Threads & Tags
Similar threads

  1. imap/pop3 fail after last update
    By karlos in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-01-2008, 08:36 PM
  2. [BUG] Apache Fail After Username Update
    By nybble in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-24-2005, 08:29 PM
  3. update easyapache and all cgi's scripts fail
    By keycomm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2003, 10:04 PM
  4. WHM update and GD 2.0.1 / apache fail
    By H2Hosting.com in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-02-2003, 12:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube