Title: Errcode: 13
Last modified: August 18, 2016

---

# Errcode: 13

 *  [netpaul](https://wordpress.org/support/users/netpaul/)
 * (@netpaul)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/errcode-13-2/)
 * Hi. I was writing an update to a post not yet published. The blog died. Did a
   repair on the mysql db, got an OK. Contact web host, no problem on his end.
 * Now when I try to load the blog I get this:
 * Database error: [Can’t create/write to file ‘/tmp/#sql_7629_0.MYI’ (Errcode: 
   13)]
    SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date > ‘2005-02-12 00:
   00:00’ AND post_date_gmt <= ‘2005-03-14 04:10:59’ AND (post_status = “publish”)
   GROUP BY wp_posts.ID ORDER BY post_date DESC
 * Thanks for your help and support!

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

 *  [interknox](https://wordpress.org/support/users/interknox/)
 * (@interknox)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/errcode-13-2/#post-166655)
 * can you connect to the backend (wp-admin/)?
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/errcode-13-2/#post-166659)
 * That is a hosting issue. I’ve seen this many times on the forums, and every time
   it was an issue on the host’s end of things.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/errcode-13-2/#post-166660)
 * [http://codex.wordpress.org/Answers-Trouble_Shooting#Errorcode_13](http://codex.wordpress.org/Answers-Trouble_Shooting#Errorcode_13)
 *  Thread Starter [netpaul](https://wordpress.org/support/users/netpaul/)
 * (@netpaul)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/errcode-13-2/#post-166706)
 * Thanks guys. It turned out it WAS the host (though they denied it until I came
   back to them with this stuff). Turns how they had locked down a server because
   of a hack attack…and the tech help just didn’t put 2 and 2 together. Swore it
   was my problem. Once they unlocked the server, the db could write to the /tmp
   files again.
 * Thanks again!

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

The topic ‘Errcode: 13’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [netpaul](https://wordpress.org/support/users/netpaul/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/errcode-13-2/#post-166706)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
