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 Connection Error

Discussion in 'Database Discussion' started by Exalweb, Dec 26, 2012.

  1. Exalweb

    Exalweb Registered

    Dec 26, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello dear members, I am here to ask from you help with hope that someone kindly will reply with a solution.
    Now let me describe my problem.Last night I was navigating at my websites and everything was okay, I went to sleep and now as I woke up I open my website and its showing me an MySQL Error "Error establishing a database connection".I also tryed to open all my other websites but same error.I checked if the user privileges are changed but no, everything seems to be okay, I also checked the config file and everything okay here as well.I logged in to my ROOT account with hope if I can find the solution but nothing.
    You can see this by yourself navigating to this links:
    / Wordpress
    / WHMCS
    / MyBB

    Any Help would be hightly appreciated, you can contact me also on my email: exalweb [AT] gmail [dot] com

    Thank you, Best Regards
    #1 Exalweb, Dec 26, 2012
    Last edited: Dec 26, 2012
  2. pwhjenny

    pwhjenny Well-Known Member

    Aug 31, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    First of all try to restart the mysqld service.

    /etc/init.d/mysqld restart

    If your website still shows the error, check logs in the

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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