Title: Database error Errcode 2
Last modified: August 18, 2016

---

# Database error Errcode 2

 *  [ubbez](https://wordpress.org/support/users/ubbez/)
 * (@ubbez)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/database-error-errcode-2/)
 * My blog was working fine, until now. I get this message, and I cant se any posts.
 * WordPress database error: [Can’t create/write to file ‘/var/tmp/#sql_15767_0.
   MYI’ (Errcode: 2)]
    SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt
   <= ‘2005-08-16 21:33:59’ AND (post_status = “publish” OR post_author = 1 AND 
   post_status != ‘draft’ AND post_status != ‘static’) GROUP BY wp_posts.ID ORDER
   BY post_date DESC LIMIT 0, 10

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/database-error-errcode-2/#post-249880)
 * Email your host support – it’s an error they need to fix.
 *  Thread Starter [ubbez](https://wordpress.org/support/users/ubbez/)
 * (@ubbez)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/database-error-errcode-2/#post-249883)
 * Thanks!

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

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

## Tags

 * [(Errcode:](https://wordpress.org/support/topic-tag/errcode/)
 * [database](https://wordpress.org/support/topic-tag/database/)

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
