• Resolved csysinc

    (@csysinc)


    Hi,

    I am get an error message “error establishing a database connection” when I try to open my website. I am unable to open the wp-admin page too.

    I think it might have something to do with a change I made previously:

    In my cpanel, I went to MySQL databases and I created a new MySQL user, made this new user the ‘privileged user’ of my database, and then deleted the old user.

    Do let me know if I must make additional changes to another file after making this change.

    Thanks and Regards,
    CL

Viewing 2 replies - 1 through 2 (of 2 total)
  • You will need to update your wp-config.php file with the new DB user name. As long as that’s the only change you will be all good and ready to go again.

    Thread Starter csysinc

    (@csysinc)

    Thank you so much Catacaustic! I did what you said and the website is back up now!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error establishing a database connection’ is closed to new replies.