Solved

#126 phpmyadmin error

Posted on 2011-09-21
6
657 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 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