• hi, I’m not sure how this happened, exactly, but this morning I clicked to go to my weblog address and was greeted by the following statement:

    Database error: [Can’t open file: ‘wp_posts.MYD’. (errno: 126)]
    SELECT DATE_ADD(post_date_gmt, INTERVAL ‘-18000’ SECOND) FROM wp_posts WHERE post_date_gmt <= ‘2005-02-22 13:42:45’ AND post_status = ‘publish’ ORDER BY post_date_gmt DESC LIMIT 1

    Database error: [Can’t open file: ‘wp_posts.MYD’. (errno: 126)]
    SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date > ‘1969-12-24 19:00:00’ AND post_date_gmt <= ‘2005-02-22 13:42:59’ AND (post_status = “publish”) GROUP BY wp_posts.ID ORDER BY post_date DESC

    Database error: [Can’t open file: ‘wp_posts.MYD’. (errno: 126)]
    SELECT DISTINCT YEAR(post_date) AS year, MONTH(post_date) AS month, count(ID) as posts FROM wp_posts WHERE post_date < ‘2005-02-22 08:42:45’ AND post_status = ‘publish’ GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC

    Unfortunately, those sentences don’t mean a whole lot to me. I poked around some, and it would appear as if WP can’t understand any of my database information: no comments, no posts, no drafts, nothing. Any suggestions on how I can 1: figure out what exactly is wrong, and 2) fix it?

    Thanks!

    tazo

    http://earthlikesky.com

Viewing 1 replies (of 1 total)
  • The Error code is coming from mysql.

    This page says an Error 126 is “126 = Index file is crashed / Wrong file format”

    I would read through the info there and see if it helps

Viewing 1 replies (of 1 total)
  • The topic ‘error number 126?’ is closed to new replies.