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!

cPanel reports MySQL down but sites work

Discussion in 'Database Discussion' started by asdcxz@1239, Aug 6, 2018.

Tags:
  1. asdcxz@1239

    asdcxz@1239 Registered

    Joined:
    Aug 6, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hi,

    cpanel is showing mysql is down but all my sites using database are working fine.

    but clients are not able to open phpmyadmin.

    /scripts/restartsrv_mysql --status output
    System info
    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @asdcxz@1239,

    Can you let us know of any output to the MySQL error log (/var/lib/mysql/$hostname.err) upon restarting the MySQL server or when accessing phpMyAdmin? Also, please post the output from the following command:

    Code:
    mysql --version
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. asdcxz@1239

    asdcxz@1239 Registered

    Joined:
    Aug 6, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hi,

    Thank you for your reply please check the below output

    /var/lib/mysql/$hostname.err output


     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @asdcxz@1239,

    Can you try forcing an upgrade of the MySQL tables by running the below command?

    Code:
    mysql_upgrade --force
    Then, restart MySQL to see if the same errors are logged to the MySQL error log.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. asdcxz@1239

    asdcxz@1239 Registered

    Joined:
    Aug 6, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hi,

    Getting this error access denied

     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @asdcxz@1239,

    Can you open a support ticket so we can take a closer look at the affected system? You can post the ticket number here and we will link this thread to the ticket.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. asdcxz@1239

    asdcxz@1239 Registered

    Joined:
    Aug 6, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Root Administrator
    Hi,

    Opened ticket #10062365


    Thank you
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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