Skip to main content

2 Easy ways of “How to Fix Error Establishing a Database Connection” in WordPress

What is “Error Establishing a Database Connection”?

How to fix Error establishing a database connection

Why Error Establishing a Database Connection is occurs on a WordPress website?

During WordPress Installation

During WordPress Migration

How to fix “Error Establishing a Database Connection in WordPress?

1. Check and Correct the Login credentials of your MYSQL Database in the wp-config.php file.

fix Error establishing a database connection
Root Directory of your website files in Localhost ( Wamp Server)
solve to fix Error establishing a database connection
Root Directory of your website files in WP File Manager Plugin Dashboard
the wp-config.php file without login credential of MYSQL Database
wp-config.php file with login credential of MYSQL Database
Error establishing a database connection is fixed
After fixing the Error Establishing a Database Connection

2. Backup and Delete the wp-config.php file.

wp-config.php file in wamp server
How to fix Error establishing a database connection
Error establishing a database connection is fixed

The Error Establishing a Database Connection is fixed now.

Comments

Popular posts from this blog

How to Increase Website Loading Speed and Performance

Website speed and performance are very important for website traffic so that your website can rank on google first page. For example, if you search something on google search then you click on any one of the websites on google search result page. Then you wait a few seconds for website loading and when it takes more time then you close the website and click on the next website on google search page result. This process runs again and again until the website opens fast and doesn't take more time in loading. Best Ways to Increase WordPress Website Loading Speed and Performance Check your Website Speed and Performance Increase website loading Speed & performance using W3 Total Cache Plugin. Optimize and Resize Website Images Check your website speed and performance First, you have to check your website speed and performance on GTmetrix or Pingdom Tools and many more website but GTmetrix is a must for testing website speed and performance because GTmetrix is very good for providi