cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

"Error establishing a database connection"

I was working on my Wordpress site today and everything seemed fine.

I restarted the computer and left for 5 minutes and came back and suddenly neither of my websites were working.

Even when someone else tries to access my site they get the same error 

 

"Error establishing a database connection"

 

Looking in the Godaddy help people say it must mean that my password is incorrect.. but this doesn't make sense because the error even shows for people who are just trying to view the webpage...

Any idea what's going on here?

3 REPLIES 3
Helper V
Helper V
Solution

Re: "Error establishing a database connection"

@mikesreel,

 

Every time your website is accessed, a database connection is established... 

http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wo...

Please check the above URL to know how to resolve this issue...

 

Thank you

 

Regards,

 

Praveen Thomas

GoDaddy 24/7 Support www.x.co/247support
----->NEXIA

Re: "Error establishing a database connection"

If You are using CPanel and other methods did not work for you to fix this problem ( Error establishing a database connection ) you may try this one too.

Go to Godaddy  Cpanel Dashboard --> Databases --> MySQL® Databases 

 

Look at the Modify Databases 

Find your database username and select it and click "Check Database" button.

See if there is any problem in your databases and if there is any problem, go back to the last page and find your database username and select it and click "Repair Database" button. 

 

Go to 

Go to Godaddy  Cpanel Dashboard --> Software --> PHP Processes

and  press "Kill Processes" button

That's it!

If you find my replies helpful, give me a like or kudo Smiley Happy
And if I solved your issue, mark it as a solution Smiley Very Happy

 

Amir - IT Pro |  Mysteryofiran.com

#Amir_ITPRO

Re: "Error establishing a database connection"

For resolve this watch the video