Title: Database error
Last modified: August 31, 2016

---

# Database error

 *  [dogwithblog](https://wordpress.org/support/users/dogwithblog/)
 * (@dogwithblog)
 * [10 years ago](https://wordpress.org/support/topic/database-error-217/)
 * Dear All,
 * I keep getting frequent database connection error at `dogwithblog.in` resulting
   in Error 404 or sometimes Error 500 errors.
 * The details of the same are [here](http://support-tools.com/?d7b0a2cd874bfad4#axGFpEn82Q9tmxqSiblV3DXrWuX02y+yrZS0oU7yRdw)
 * Any help would be greatly appreciated.
 * Regards
    Abhishek

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

 *  [Clarion Technologies](https://wordpress.org/support/users/clarionwpdeveloper/)
 * (@clarionwpdeveloper)
 * [10 years ago](https://wordpress.org/support/topic/database-error-217/#post-7413993)
 * You will need to repair your wordpress database.
    using WP_ALLOW_REPAIR which
   you will need to set true in wp-config.php For ex: define(‘WP_ALLOW_REPAIR’,true);
 * add above code in wp-config.php
 * or manually through mysql query in your database panel(PHPMyAdmin)
    Please refer
   below link: [https://www.maketecheasier.com/fix-corrupted-wordpress-database-2/](https://www.maketecheasier.com/fix-corrupted-wordpress-database-2/)
 *  Thread Starter [dogwithblog](https://wordpress.org/support/users/dogwithblog/)
 * (@dogwithblog)
 * [10 years ago](https://wordpress.org/support/topic/database-error-217/#post-7414030)
 * Thank you!
 * Trying the same…
 * Meanwhile here is the response I got from Hostgator:
 * Up on checking the logs which was block on the ModSecurity, I could see that 
   there is below rule which is blocking at present on the server.
    #Rogue web site
   crawler This means rogue bots are consuming over 6X the bandwidth of visitors.
   For other sites which run (about a dozen) the normal ratio is 25%. This will 
   be use most of the bandwidth of the website and which inturn effects the other
   websites on the server. You need to contact the webdeveloper and change the code
   in such a way that it should not access..
 * Server log for the same is as follows:
    [http://support-tools.com/?e1954ea33bff599e#lUIiVXYXh87I9ZitbywuILUPfypr3O1B9Hy8CecMlmw=](http://support-tools.com/?e1954ea33bff599e#lUIiVXYXh87I9ZitbywuILUPfypr3O1B9Hy8CecMlmw=)

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dogwithblog](https://wordpress.org/support/users/dogwithblog/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/database-error-217/#post-7414030)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
