Results 1 to 3 of 3

Thread: Unable to start MySQL on CentOS 6.2

  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default Unable to start MySQL on CentOS 6.2

    Friends

    I have recently purchased a VPS for one of my clients that runs on CentOS 6.2

    It seems that the MySQL server is offline in the server. I have tried the following to start it

    /etc/init.d/mysqld start

    ..but I get the following message

    /etc/init.d/mysqld: No such file or directory

    However, when I check the status of MySQL by running the command service mysql status it says

    MySQL running (2565) [ OK ]
    I have restarted MySQL, rebooted the server, upgraded cPanel but nothing seems to work

    Please advise, I need this resolved ASAP

    MySQL details (if that helps)

    Active Persistent Links 0
    Active Links 0
    Client API version 5.1.63
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib64 -lmysqlclient
    Thanks a lot
    Last edited by probuddha; 06-12-2012 at 01:48 AM. Reason: added further info

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,704
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unable to start MySQL on CentOS 6.2

    Hello

    Check to ensure duplicate versions of MySQL are not installed:

    Code:
    # rpm -qa|grep MySQL
    Also, you can force an update of MySQL via:

    Code:
    # /scripts/mysqlup --force
    You are also welcome to submit a ticket so we can take a closer look via:

    Submit A Ticket

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Unable to start MySQL on CentOS 6.2

    Of note, the command being used to start MySQL in command line isn't correct. On cPanel machines, it is the following:

    Code:
    /etc/init.d/mysql restart
    There is no d at the end of mysql there.

    Next, where is it showing that MySQL is offline precisely?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Unable to upgrade Centos
    By Archmactrix in forum New User Questions
    Replies: 3
    Last Post: 02-02-2012, 09:47 AM
  2. Unable to start Cpanel after upcp
    By appolo in forum New User Questions
    Replies: 3
    Last Post: 04-05-2011, 08:25 AM
  3. Unable to start remote server
    By PPNSteve in forum cPGS Discussions
    Replies: 2
    Last Post: 04-29-2010, 02:05 PM
  4. Unable to start named
    By edwin.brocke in forum New User Questions
    Replies: 7
    Last Post: 11-30-2008, 02:30 PM
  5. unable to start mysql
    By bindu in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-22-2003, 09:24 AM