• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Change in database username broke my Wordpress site

sw2022

New Pleskian
Please help! I understand zero from Plesk or Wordpress. I have a site on Plesk and I thought I needed to change the username database there (probably a stupid idea). Anyway, since then my site is not working. I can not login on WP adm, and the message that shows up is "Error establishing a database connection". Could anyone help me? I don not remember the previous username. Can someone explain to me as I was a small child (zero tech knowledge) exactly what to do and where to go, like, step-by-step? I've contacted my hosting company, but I do not have much time and I am not sure they will be able to help.

Please, help
 
An update: I was able to find the old database username (the same that is inside the wp-config.php file) and I updated the database with the old username. But it didnt solved nothing. Any idea what I need to do?
 
You need four things that must fit:
1) servername (normally "localhost")
2) database name
3) user name
4) password
You can either update your database user to match the entries in the wp-config.php file or you can change the entries in the wp-config.php file to match your database user settings. Either way, when these are correctly set Wordpress will work with them.
 
Thank you very much Peter! All was solved! I went into the wp-config.php and found the old username. Then I updated the database with this old username and all worked well! Thank you very much!
 
Back
Top