Sarguneshwaran Balu

The experienced Digital Marketing SpecialistUI/UX DesignerWeb DesignerPhotographer

Solved – Error Establishing a Database Connection wordpress

Error establishing a database connection.This is the common issue for a WordPress site while porting from local to live or migrating from one host to other.Causes:
  1.    Your login details for your database are wrong.
  2.    Corrupted Database
Solution:Check Database name and user Check Phpmyadmin whether the database imported correctly. Check the wp-config.php, has the same database name and user, also check the password provided for the userIf the above point doesn’t work, then create a new DB and import the existing database.. 

Leave a comment

Your email address will not be published. Required fields are marked *