I changed info about database accidentally in wp-config.php and can not access to wordpress since then

May 8, 2017 289 views
WordPress Ubuntu 16.04

I changed info about database accidently in wp-config.php and can not access to wordpress since then, when enter the ip address, instead of the wordpress interface, I only get the "Error establishing a database connection" and couldn't get back to normal.

Anyone can help?

Much appreciated!

2 Answers

if you know the login credential for the mysql, then follow "Step 2 — Check Database Login Credentials"

Wordpress is one of the most popular open source content management systems in the world. Although it started out focused on blogging, over the years it has developed into a more flexible platform for websites in general. After almost fifteen years of development it is quite polished and robust, yet issues can still come up. If you've recently attempted to load your Wordpress-powered website and instead saw a message stating "Error Establishing Database Connection", the cause is most often...
Have another answer? Share your knowledge.