"Didn't find any fields in table" Error

Posted on 2004-11-19
Last Modified: 2012-06-21
Hi there,

Can anyone help to explain an error message I got when I logged into my MYSQL server.

I received hundreds of messages "Didn't find any fields in table 'tablename'."

Restarting mysql solved this, but I'd really like to know what the problem was.

Can anyone shed any light on this.



Question by:jjbarnsley
    LVL 33

    Expert Comment

    "This message is issued by the mysql client program when it connects to a database and finds an incorrectly defined table."

    Looks like it could have been a corrupt file, but more likely incorrect OS-level file permissions.  Why it worked the second time around I don't know; did you change users?
    LVL 2

    Expert Comment

    Most likely, you had a problem with one of mysql's internet databases, that store program settings and users. (Database mysql)

    This file was probably corrupted / missing in the OS, thus causing the message to occur over and over as mysql tried to read its settings.

    Author Comment

    The problem was a result of  wait_timeout in my.cnf.   I changed this and resolved immediately resolved the problem without any recurrence.
    LVL 2

    Expert Comment

    Good to hear. MySQL config can be a bugger sometimes. ;D

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    A lot of articles have been written on splitting mysqldump and grabbing the required tables. A long while back, when Shlomi ( had suggested a “sed” way, I actually shell …
    Creating and Managing Databases with phpMyAdmin in cPanel.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now