Title: Database Problem
Last modified: December 20, 2016

---

# Database Problem

 *  [erogers](https://wordpress.org/support/users/erogers/)
 * (@erogers)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/database-problem-10/)
 * .72 Beta 2 on Mac OS 10.2 has been running great until today. After a routine
   server reboot my blog is hosed. I get these errors:
    ` 1. SQL/DB Error -- 2. [
   Can't create/write to file '/var/tmp/#sql1c1_32_0.MYI' (Errcode: 9)] and Warning:
   Invalid argument supplied for foreach() in /Library/WebServer/Documents/blogkc/
   b2-include/b2template.functions.php on line 1085 The weird thing is that this
   only happens in the public interface. The admin interface is fine, I can still
   edit and add posts. Permissions on /var/tmp/ seem to be OK (drwxrwxrwt), and 
   other PHP/MySQL apps are working just fine. The only problem is the one part 
   of this one app. the URL is [http://blogkc.com](http://blogkc.com)

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

 *  Thread Starter [erogers](https://wordpress.org/support/users/erogers/)
 * (@erogers)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/database-problem-10/#post-23981)
 * Nevermind. It was an OS problem with a corrupted /var/tmp directory. Unrelated
   to MySQL, PHP, or WordPress. Move along, nothing to see here.
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/database-problem-10/#post-23982)
 * Glad to hear it worked out.
 *  [arthuc01](https://wordpress.org/support/users/arthuc01/)
 * (@arthuc01)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/database-problem-10/#post-24070)
 * Its just happened to me too …. glad to see its not something i’ve done hopefully
   the server boys will get their act together (although i doubt it)

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [arthuc01](https://wordpress.org/support/users/arthuc01/)
 * Last activity: [22 years, 6 months ago](https://wordpress.org/support/topic/database-problem-10/#post-24070)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
