Title: WordPress database error on startpage
Last modified: August 18, 2016

---

# WordPress database error on startpage

 *  [brianbrian](https://wordpress.org/support/users/brianbrian/)
 * (@brianbrian)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/)
 * Hello!
 * My english is not so good, but i hope you will understand the question.
 * I got this error-message on my startpage (see below). I dont know what the problem
   is, and it work(ed) ok yesterday, and no changes have been made since then.
 * WordPress database error: [Got error -1 from table handler]
    SELECT DISTINCT *
   FROM wp_posts WHERE 1=1 AND post_date_gmt <= ‘2005-11-28 07:56:59’ AND (post_status
   = “publish”) GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0, 7

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

 *  Thread Starter [brianbrian](https://wordpress.org/support/users/brianbrian/)
 * (@brianbrian)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/#post-288306)
 * I haved now fixed the problem by my own. 🙂
 *  [hrtwrk](https://wordpress.org/support/users/hrtwrk/)
 * (@hrtwrk)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/#post-288363)
 * I’m having a similar problem. I get this error message:
 * `WordPress database error: [Can't create/write to file '/tmp/#sql_18bd_2.MYI'(
   Errcode: 5)]`
 * Followed by:
 * `SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt <= '2005-11-28 15:
   17:59' AND (post_status = "publish") AND post_date >= '2005-11-23 12:31:40' GROUP
   BY wp_posts.ID ORDER BY post_date DESC`
 * Any clue? I haven’t done anything other than regular posting (i.e. I haven’t 
   been changing code)
 *  [hrtwrk](https://wordpress.org/support/users/hrtwrk/)
 * (@hrtwrk)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/#post-288370)
 * Oh, site is:
 * [http://www.joshuablankenship.com/](http://www.joshuablankenship.com/)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/#post-288373)
 * No, your problem is totally different (so next time start your own thread, otherwise
   nobody will see it) or better do a search for the error msg you got. Here is 
   the answer:
    [http://wordpress.org/support/topic/28823](http://wordpress.org/support/topic/28823)
 *  [hrtwrk](https://wordpress.org/support/users/hrtwrk/)
 * (@hrtwrk)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/#post-288411)
 * Server-side SQL error. Thanks.

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

The topic ‘WordPress database error on startpage’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [hrtwrk](https://wordpress.org/support/users/hrtwrk/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-on-startpage/#post-288411)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
