1

I know there are a lot of #1054 error related questions on here but mine is simply this - I renamed my table in phpmyadmin (under operations) and get the error

error #1054 Unknown column ~oldtablename.column~ in order clause

when I try to click on the table name to 'browse' it.

If I rename the table back it works ok but then after renaming it again I have the same problem. Why is phpmyadmin asking for an order by with the old name? Any help appreciated.

EDIT - I managed to fix it by renaming the column in question and then renaming it back.

I will leave this question open in case anyone else has the same problem (it does not appear to be documented on SO).

Although I have it working now, it doesn't really help me understand what happened. I'd still like to know if I did something wrong (renaming a table under operations) or if it was a phpmyadmin glitch.

gavin stanley
  • 1,082
  • 2
  • 13
  • 28

0 Answers0