Why I Am Getting Error Establishing a Database Connection Error

To solve this " ERROR ESTABLISHING CONNECTION" please follow the below steps:

 

1: This error you got when there is no connection between your Database and the user of Database, So firstly you need to check the database name and the user name in your file named as "wp-config.php."

2: Then you need to match it with the data base name and the user in "MYSQL DATABASE" option in Cpanel.

3: Then you need to Connect both database and the user with each other by clicking on ADD button under the option MYSQL DATABASES.

4: Once they will be connected with each other the error of your site will disappear.

 

If still you are Facing any issue Please Click Here to raise a ticket to our Support team

 

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

What Will Be The Host name for Mysql Database Connection

For Linux Hosting: Database Hostname is: localhost   For Windows Hosting: Database Hostname...

How to connect Mysql database remotely?

Yes you can access Mysql remotely using any Mysql connectivity Software like Navicat. First of...

I Need a Different Mysql Version

I Need a Different Mysql Version In our different server we have diffrenet Version of Mysql . As...

How to create the "Database and Database User" in Cpanel?

To create the "Database and Database User" in Cpanel please follow the below steps:   1: Open...

How to connect to file zilla?

1: Open your filezilla.   2: On the top "quick connect" bar type your all details.   3: Host...