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!

mysql restart problem

Discussion in 'Database Discussion' started by AngelsGrave, Jul 20, 2013.

  1. AngelsGrave

    AngelsGrave Member

    Joined:
    May 11, 2012
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hello

    i have a little problem in my Vps
    every few hours the mysql service stopped and all the accounts give ( cannot connect to the database ) and i have to restart the mysql

    also i did put this command in the shell to auto restart the HTTPD

    PHP:
    crontab -e
    PHP:
    */60 * * * * /etc/init.d/httpd restart >/dell/null 2>&1
    is that the reason ... but i guess this problem started before i made this change ... advice please

    Thanks
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,741
    Likes Received:
    76
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    not sure why you would need to restart Apache every hour please explain
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AngelsGrave

    AngelsGrave Member

    Joined:
    May 11, 2012
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    trying to low the load for a lil bit :$

    anyway i have just remove that now and still with the same problem :(
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The best way to resolve this issue will be to determine why MySQL is failing. Check the MySQL error log (/var/lib/mysql/$hostname.err) the next time MySQL fails to see if you notice any specific error messages.

    Thank you.
     
    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