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!

SOLVED Account suspended then "Error establishing database connection"

Discussion in 'General Discussion' started by jcompally, Jan 23, 2018.

  1. jcompally

    jcompally Registered

    Joined:
    Jan 23, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Root Administrator
    I am having the same issue that was discussed in this thread, where I will suspend an account, but because of some WordPress shenanigans, it just looks like a database error. Unfortunately, no one has posted a ticket link to update us on the outcome. Any ideas to find out how this was resolved?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,864
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    There may be possibility that the database password was changed. Can you verify it once if you are able to connect to the database use the same username and password that you have used in the website configuration file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Do you notice any output to /usr/local/cpanel/logs/error_log when suspending that account?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jcompally

    jcompally Registered

    Joined:
    Jan 23, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Root Administrator
    I have no new errors in this log, not since 2014.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. jcompally

    jcompally Registered

    Joined:
    Jan 23, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Root Administrator
    Actually got this resolved when fixing another issue I was having with account suspensions- it is related to this! The cpanel mysql username/pw must match the "/home/WEBSITE/public_html/wp-config.php", otherwise you get the error above.
     
  7. jcompally

    jcompally Registered

    Joined:
    Jan 23, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Root Administrator
    I actually got this resolved, thank you for your help, though!
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    I'm glad to see you were able to solve the issue. Thank you for updating us with the outcome.
     
    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