Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    268

    database mysql failed

    hi everyone

    I just got a new server and trying to restart mysql in WHM, but it doesn't allow me to do that
    here is the message in WHM:
    Code:
    /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").
    Can anyone tell me what wrong ? and how to fix it


    thanks alot

  2. #2
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,686
    The error is actually self explanatory.
    A> make sure mysql is installed
    B> make sure mysql is running
    If both, then make sure you're using the right user/pass to connect to the server.
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

Posting Permissions

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