WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress database error (7 posts)

  1. deesayz
    Member
    Posted 9 years ago #

    Whenever I try to access my blog or go to "manage posts" this error always keeps coming up:

    WordPress database error: [Can't create/write to file '/tmp/#sql_6d6_0.MYI' (Errcode: 13)]
    SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt <= '2005-07-17 17:45: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

    I've had wordpress for over a month, and this is the first time this has happened. I didn't make any changes to wordpress or delete anything. In other words, I have no idea why this is happening.

  2. Beel
    Member
    Posted 9 years ago #

    Your database file is likely corrupted in mysql. This happened to my some time ago and the culprit was a file undeleter I had installed on the server, but it can be just about anything. I had to restore from backup 'cuz I could not restore the tables from phpMyAdmin. I also obviously had to ditch the server program..

    Edit: The following post is also a possibility.

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    It's not a WP error, it's a hosting one.
    Email the host support and copy the above error to them.

  4. deesayz
    Member
    Posted 9 years ago #

    I'm guessing that I would email my host, right? Would it be easier to delete wordpress and start over?

  5. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Email them first.

  6. deesayz
    Member
    Posted 9 years ago #

    Ok, the problem was solved. My host fixed everything. Thanks for the advice!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags