Jump to content

[Answered] Error Establishing A Database Connection


Recommended Posts

Posted

I've received the Error Establishing a Database Connection error for the last 4 hours. It usually does not last nearly this long and I was wondering if there was a way this could be fixed.

My website is: MannyRutinel.com

My username is: trutinel

Posted

This can a issue related with Stevie MYSQL crash before 2 months, but it doesn't last for 4 hours continuous atleast ! It could be misconfiguration of the username/password you are using to connect.

Posted

The database server is up on Stevie at the moment.

 

Did you change something recently? Check your configuration to make sure the username and password are correct, and verify that the database user is assigned in cPanel.

Posted

I was recently temporarily suspended for using "too many resources" and when they unsuspended it, this started occurring. It still has not fixed itself and I have not changed anything.

Posted

My website is working fine(also on Stevie, and also Wordpress).

 

Try to follow these steps:-

1. Create a new user for MYSQl in cPanel and grant required priviligies for wordpress to work to the DB.

2. Change the name of the user and the password of the user in the wp-config.php file via the file manager in cPanel.

3. Also check the Database name in wp-config.php file.

4. After updating the user/password in the wp-config.php your website should work fine. :D

 

Had happened to me once, all the priviligies granted to the user were lost, and granting the user the rights did the work for me :D

  • Like 2
  • 1 year later...
Posted
My website is working fine(also on Stevie, and also Wordpress). Try to follow these steps:- 1. Create a new user for MYSQl in cPanel and grant required priviligies for wordpress to work to the DB. 2. Change the name of the user and the password of the user in the wp-config.php file via the file manager in cPanel. 3. Also check the Database name in wp-config.php file. 4. After updating the user/password in the wp-config.php your website should work fine. :D/> Had happened to me once, all the priviligies granted to the user were lost, and granting the user the rights did the work for me :D/>

 

Thanks yashrs.

 

Guidelines worked for me.

 

Cheers!!!

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...