Title: database error connection
Last modified: May 29, 2021

---

# database error connection

 *  [Gulshan Negi](https://wordpress.org/support/users/gulshannegi/)
 * (@gulshannegi)
 * [5 years ago](https://wordpress.org/support/topic/database-error-connection-4/)
 * I am using WordPress and many of the times I face an issue the website is not
   open properly and shows an error “database error connection issues”, I do not
   know why this happens, many of the times I call the hosting provider but not 
   get the permanent solution of this problem. Please help I am very frustrated 
   about this problem.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Samiran Kakoty](https://wordpress.org/support/users/samirankakoty/)
 * (@samirankakoty)
 * [5 years ago](https://wordpress.org/support/topic/database-error-connection-4/#post-14497583)
 * This usually happens when your host performs maintenance or restarts the database
   server. Talk to your host and ask them why it’s happening. If the issue persists
   or if it’s too frequent, you might want to consider migrating to a better and
   reliable host. I hope this helps.
 *  Thread Starter [Gulshan Negi](https://wordpress.org/support/users/gulshannegi/)
 * (@gulshannegi)
 * [5 years ago](https://wordpress.org/support/topic/database-error-connection-4/#post-14498969)
 * thank you for your reply, if I change hosing, will this resolve my problem?
 *  [Website Rob](https://wordpress.org/support/users/website-rob/)
 * (@website-rob)
 * [5 years ago](https://wordpress.org/support/topic/database-error-connection-4/#post-14499015)
 * Before you go to the trouble of changing Hoster, why not just ask your Hoster
   if MySQL is running or you can check to see on your own.
 * If you are using cPanel then look on the first page, far right-hand side, for“
   Server Information”. Click on that and on the page shown look for “mysql” then
   look to the right-hand side. If you see green icon, MySQL is working and the 
   problem is with your site. If you see a red icon then MySQL is not working and
   now you can prove it to your Hoster.
 * If a lot of the time you see the red icon when you check, then it might be worth
   the time & effort to move to another Hoster.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘database error connection’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Website Rob](https://wordpress.org/support/users/website-rob/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/database-error-connection-4/#post-14499015)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
