Title: Error connecting to database
Last modified: November 25, 2021

---

# Error connecting to database

 *  [onlinemags2021](https://wordpress.org/support/users/onlinemags2021/)
 * (@onlinemags2021)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-connecting-to-database-12/)
 * When i tried opening the site I got the “Error connecting to Database” message
   and went to check database name and passwords and these seemed to be in order.
   I then went to mywebsite.com/wp-admin/maint/repair.php and found an error in 
   table on wp-options which read wp-options:rows changed from 0 – 1320
    Please 
   help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-connecting-to-database-12%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-connecting-to-database-12/#post-15104218)
 * try reviewing [https://wordpress.org/support/article/common-wordpress-errors/#error-establishing-database-connection](https://wordpress.org/support/article/common-wordpress-errors/#error-establishing-database-connection)

Viewing 1 replies (of 1 total)

The topic ‘Error connecting to database’ is closed to new replies.

## Tags

 * [error connecting to database](https://wordpress.org/support/topic-tag/error-connecting-to-database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/error-connecting-to-database-12/#post-15104218)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
