Solved

#126 phpmyadmin error

Posted on 2011-09-21
6
653 Views
Last Modified: 2012-05-12
Hi, im using phpMyAdmin to keep track my database, when i select any databases and select a table then click to structure >> it show me this error

Error

SQL query: Edit Edit

SHOW FULL FIELDS FROM `account` ;

MySQL said: Documentation
#126 -


it happened recently, it was working fine before, could someone please give some help !!
thank you
0
Comment
Question by:AussieSilver
  • 3
  • 2
6 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36572122
Try "SHOW FULL COLUMNS FROM `account` ;"  'FIELDS' doesn't appear in the documentation.  http://dev.mysql.com/doc/refman/5.0/en/show-columns.html
0
 
LVL 3

Expert Comment

by:mykde
ID: 36572138
This is common if your /tmp directory is full or to small for the operation to complete in.
0
 

Author Comment

by:AussieSilver
ID: 36572603
even I tried the command SHOW FULL COLUMNS FROM `account` ;"  'FIELDS'; it showing the same error and also SHOW COLUMNS FROM mydb; showing error #1146 -
if the error is common as my /tmp directory is full or small, how it can be fixed?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 3

Accepted Solution

by:
mykde earned 500 total points
ID: 36575848
first verifiy that server is running out of space:

From the command line run the command:
df -h /tmp

Open in new window

You should get a response something like
Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda1             20G  753M   19G   4% /

Open in new window


Another possibility here is that the table is corrupt:

A possible fix for a corrupt table is to "Repair" the table, this can acomplished by

1. Backup your table

2. Run "REPAIR TABLE account" from the query window in phpMyAdmin

3. MySQL should now repair the table. After the table has been repaired

4. Restart MySQL

5. retry your querys

0
 
LVL 3

Assisted Solution

by:mykde
mykde earned 500 total points
ID: 36575858
Sorry the last post did not include the repair command.

Another possibility here is that the table is corrupt:

A possible fix for a corrupt table is to "Repair" the table, this can acomplished by
1
Backup your table

2
Run
REPAIR TABLE account

Open in new window


3
MySQL should now repair the table. After the table has been repaired

4
Restart MySQL

5
retry your querys
0
 

Author Closing Comment

by:AussieSilver
ID: 36578342
works fine !!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

16 Experts available now in Live!

Get 1:1 Help Now