Solved

#126 phpmyadmin error

Posted on 2011-09-21
6
656 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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