Skip to main content

Account suspended then "Error establishing database connection"

Comments

7 comments

  • 24x7server
    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?
    0
  • cPanelMichael
    I am having the same issue that was discussed in
    0
  • jcompally
    Hello, Do you notice any output to /usr/local/cpanel/logs/error_log when suspending that account? Thank you.

    I have no new errors in this log, not since 2014.
    0
  • cPanelMichael
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.
    0
  • jcompally
    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?

    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.
    0
  • jcompally
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.

    I actually got this resolved, thank you for your help, though!
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to solve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.