Lisa Sabin-Wilson. Designer. Author. Espresso and WordPress addict

PSA: WordPress 2.0 Database Error

on: Jan/10/06 and its been viewed 1,722 times

This evening, 1/10/06 - we received reports and experienced the following error in blogs using WordPress version 2.0:

WordPress database error: [Got error 28 from table handler]
SELECT * FROM wp_posts WHERE 1=1 AND (post_status = “publish” OR post_author = 1 AND post_status != ‘draft’ AND post_status != ’static’) AND post_status != “attachment” GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0, 15

The problem existed for all of 3-5 minutes on our server and appeared to wipe out all posts made on the blogs - however, a quick check of the database told us that the databases were, indeed, in tact with no data loss at all. Something quirky in the calls to the database to retrieve the data was going on.

This error did not occur on any site on our server running earlier versions of WordPress, this only happened with 2.0 users. (unless we didn’t catch it - but a quick review by loading those sites running earlier versions of WordPress told us that they were running fine, while the WordPress 2.0 blogs were toast (like mine)).

We resolved the error by running a MYSQL repair on all 2.0 database tables, and the error went away, server-wide.

We are currently in communications with the folks from MYSQL and WordPress to determine what the error was about, how to avoid it in the future and whether or not this is a true WordPress 2.0 bug, or rather some tweaks that need doing in MYSQL.

We currently have all sites utilizing WordPress 2.0 on our ‘Watch List” (for lack of a better phrase) to monitor and keep track of until we find a solid resolution to this error.

Should you have any questions at all, please do not hesitate to submit a ticket with a request at our Support Center: http://tickets.blogs-about.com

Related:
My ticket at WP support
TroubleShooting Error 28

Posted on: January 10, 2006 |

Posted in: Blogs About Hosting

Tags: , , ,

/*--- 5 Responses to “PSA: WordPress 2.0 Database Error” ---*/

  1. Wench
    1:13 pm on January 13th, 2006

    Maybe it’s just the cynic in me….but “this is a mysql error and has nothing to do with wp directly”

    So…lemme get this straight…if only the wp 2.0 tables are getting FUBARed, then wouldn’t one think that it’s because of the way the queries are being made from *doh* wordpress?

    Ida No.

    I didn’t like it much. Messing with it and WPMU left a bad taste in my mouth. I mean, they broke the “more” tag, for crying out loud. Yeah, Donncha fixed it, but it was broken for how long?

    Oh, and it used to strip out <ol> tags. That was annoying as hell, too. And how long did it take them to fix that one?

    Of course, you get what you pay for, I guess.

    What was wrong with the old wordpress functionality, anyway (not counting security fixes)? It wasn’t as flashy (read: bloated) enough? Have I mentioned how much I hate AJAX? And TinyMCE blows donkey dick - I dunno if they fixed it yet, but it produced annoying js errors in IE…which is fine for me, because I don’t use IE or the WYSIWYG editor, but for every one of me, there are 1000 still using IE.

    Meh. I’m just bitter, that’s all. Can you tell? ;)

  2. Lisa
    8:03 pm on January 13th, 2006

    Yea..that was kind of my question that never really got answered. WordPress tells me that it’s a MYSQL problem and has nothing to do with WP. MYSQL says it’s a WP problem and has nothing to do with MYSQL. The fact that it ONLY occurred on 2.0 blogs on our server tells me that it’s a 2.0 specific issue - - otherwise wouldn’t all the MYSQL driven blogs be affected?

    It was a mysterious thing. I ran repairs on all the 2.0 database tables on the server and the problem was instantly gone.

    Although, I have been in contact with other hosting providers who tell me that the issue occurs intermittantly - even after the db tables have been repaired. I’m interested to see if this happens again - - and very interested to know what is causing it.

    Someone in the support forum told me that it was because of our /tmp folder on the server was too large. It was at 78% useage at the time it happened - - but, we didn’t clear out that /tmp folder until WAY after the db table repair was done, adn the issue was resolved. I would think that the issue would have remained UNTIL that /tmp folder was cleared and optimized.

    But then - that would make it a WP issue, and we KNOW it’s not a WP issue because the codex says so. ::nod::

  3. graeme sprigge
    6:58 am on March 13th, 2006

    Have you seen this error in wordpress?

    WordPress database error: [Got error 28 from table handler]

    Suddenly just occurred :((

  4. graeme sprigge
    6:59 am on March 13th, 2006

    This was in wordpress 1.51 by the way not 2.0

  5. Martin Schindler
    12:29 pm on July 1st, 2006

    I had the same problem today. From one moment to another my blog wasn’t working anymore and i got this Error #28.
    I then had a look at the conditions of my server, that is running with linux by the way. A ‘df’ brought up that my temp-partition ran full. A reboot of the server fixed that problem and now the blog is up and running again.

Leave a Reply

  • Li-sa Sa-bin Wil-son: [lee-suh sey-bin will-sun] - pronoun; 1. A wife, mother & friend; 2. Blog Designer & WebHost; 3. Author of WordPress For Dummies; 4. Scuba diver; 5. Downhill Skier; 6. Am. Photographer; 7. Espresso sipper;
    contact me »
    WordPress For Dummies, author Lisa Sabin-Wilson, Amazon.ComI wrote the First Edition of WordPress For Dummies, published Nov. '07. I'm currently writing the 2nd Edition, due to be published in Fall '08...read more »
    Acknowledgements | Forward | TOC | Ch. 1
    Bonus Chapter: What's New in WordPress 2.5
  •  

    • I just donated to the prize pool for the WordPress MU Plugin Competition. REALLY looking forward to the great MU plugins they come up with! What a great idea! Are you a plugin developer? Well get over there and enter...and win! :)

      - #
    • The panel picker for SXSW 09 is now live and you're able to vote for panels/presentations you'd like to see at SXSW in Austin in March 09. My Panel on WordPress Magazine Theming is up, if you're care to cast your vote for it - I'd surely appreciate it! It's the ONLY prospective panel at SWSX about WordPress - - let's get WP represented!! Go here to cast your vote and thanks!

      - #
    • FYI for users of my xMark WordPress Theme .. yesterday, I released an upgrade. xMark v2.5 available for download. Updated for WP 2.6, with a few enhancements and adjustments.

      - #
    • David Span recently asked me to guest blog at MyBlogIt.net on WordPress. I was flattered. I am honored. I am done with my post there and he's got it up today: WordPress Magazine Themes: Quick Anatomy Lesson.. complete with PowerPoint presentation and Video (eek!). Thanks so much David!

      - #
    • So, I'm Plurking. Anyone Social Network'd out, yet? Add me, won't you?

      - #
    • Lindsey: Congrats on the weight loss Lisa - that’s awesome!!!...
    • IssacFrost: I suggest you simply shift. When you shift you have it...
    • Trish: Is the “Anam Cara” not what each of us...
    • Jason Gullickson: Your description of multitasking (originally a...
    • Fern: I find that it helps if I don’t let myself think about...
    • Bob: Hello P Figueira, Welcome to the board. All legitimate...
    • Charlie on PA Tpk: Multitasking isn’t an option for me,...
    • Mark: Lisa, I’m exactly like you, I multitask and don’t...
    • HealthMarkets/NASE agent: How sad~ Most of the comments written are...
    • Lisa: err..except Omnifocus looks to be a Mac app. :-j I have a...
    • Lisa: @Ryan - fantastic tips and ideas, thank you! I just Googled...
    • Lisa: @Joni - Hi :) Sounds like we’re very similar in this...
    • Lisa: @Shelley (ThisEclecticLife) - so what you’re saying is...
    • Lisa: @AnswerJam - I am probably being a bit too hard on myself,...
    • Lisa: @Lindsey - those are some good suggestions.. simple and good....