The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to start MySQL on CentOS 6.2

Discussion in 'Database Discussions' started by probuddha, Jun 12, 2012.

  1. probuddha

    probuddha Registered

    Joined:
    Jun 12, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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

    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)

    Thanks a lot
     
    #1 probuddha, Jun 12, 2012
    Last edited: Jun 12, 2012
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    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?
     
Loading...

Share This Page