cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New

What Causes the 'Database Error Connection"

I opened my browser and wanted to put a post on my blog but encounted the dreaded "Database Error Connection...et al"

I had to use code writer and filezila to fix the problem only after having researched the topic in a number of various websites, in particular this one: "https://websitesetup.org/error-establishing-a-database-connection/" and also this tutorial: http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wo...

Word to the wise, keep your username, password, database name, and host info handy when you are about to fix this problem...also, understanding how your MySQL® Database works also helps..

Update to fix your problem..: please remember that your 'hostname data" in your wp-config should be typed 'localhost' and not an actual IP address..