Title: Odd DB error
Last modified: August 18, 2016

---

# Odd DB error

 *  Anonymous
 * [22 years, 1 month ago](https://wordpress.org/support/topic/odd-db-error/)
 * Hi, everything on my blog has been working perfectly for months now, but all 
   of a sudden, when I came home and looked at my blog today, it was all messed 
   up and had this error:
    SQL/DB Error: [Got error -1 from table handler] SELECT
   DISTINCT * FROM wp_posts WHERE 1=1 AND post_date <= ‘2004-04-27 22:06:43’ AND(
   post_status = “publish”) GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 4
   I found a topic similar to this, in which the person said that the hosting company
   restarted the server, but when I asked my hosting company about it, they said
   they didn’t understand and couldn’t help me because it was a 3rd party issue.
   Could you please tell me what the problem is? And also, could you tell me how
   to fix this?

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

 *  Thread Starter Anonymous
 * [22 years, 1 month ago](https://wordpress.org/support/topic/odd-db-error/#post-47760)
 * I just got it today too. I hope someone answers your question.
 *  [different](https://wordpress.org/support/users/different/)
 * (@different)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/odd-db-error/#post-47761)
 * I’m getting a similar error too at
    [http://www.differentsky.com/blog/](http://www.differentsky.com/blog/)
 *  [different](https://wordpress.org/support/users/different/)
 * (@different)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/odd-db-error/#post-47765)
 * it’s fixed for me, after some server maintenance (according to the host)

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

The topic ‘Odd DB error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [different](https://wordpress.org/support/users/different/)
 * Last activity: [22 years, 1 month ago](https://wordpress.org/support/topic/odd-db-error/#post-47765)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
