Jump to content

[Answered] Error Establishing A Database Connection


trutinel

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 1 year later...
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...