Title: Database error &#8211; not repaired
Last modified: April 28, 2025

---

# Database error – not repaired

 *  Resolved [sarahjsouris](https://wordpress.org/support/users/sarahjsouris/)
 * (@sarahjsouris)
 * [1 year ago](https://wordpress.org/support/topic/database-error-not-repaired/)
 * Hello,
 * Thanks in advance for your help.
 * Today our website was down ‘error establishing a database connection’ and on 
   the /wp-admin page instructions for how to launch database repair.
 * During the WP database repair we got this error:
 * wp_options: Wrong block with wrong total length starting at 139909512
 * Could you possibly help us to work out what is happening and how to fix this?
 * Thanks!
 * Sarah
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-not-repaired%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [sarahjsouris](https://wordpress.org/support/users/sarahjsouris/)
 * (@sarahjsouris)
 * [1 year ago](https://wordpress.org/support/topic/database-error-not-repaired/#post-18439274)
 * Thanks so much for your help [@beydah](https://wordpress.org/support/users/beydah/)
   I appreciate it muchly.
 * It turned out that logging into phpMyAdmin and repairing the wp_options table
   there fixed the issue for us.
 * Thanks for such a comprehensive response.
 * Kindest,
 * Sarah

Viewing 1 replies (of 1 total)

The topic ‘Database error – not repaired’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)
 * [phpmyadmin](https://wordpress.org/support/topic-tag/phpmyadmin/)
 * [wp_options](https://wordpress.org/support/topic-tag/wp_options/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sarahjsouris](https://wordpress.org/support/users/sarahjsouris/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/database-error-not-repaired/#post-18439274)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
