S
S
Snewer2016-09-13 14:38:52
MySQL
Snewer, 2016-09-13 14:38:52

How to restore a table?

Hello!
There is a table with ~1 million records.
The table has fields abc d.
It was necessary to rename the fields (change the names of one column to another) a <-> c, b <-> d.
I did it using phpMyAdmin. When renaming, there was an error about lack of time, but visually the column was renamed. With such an error and renamed all columns. From pma everything seems to be fine. But when receiving data from scripts, the result did not change. How to restore (rename) table columns?
thank.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
doctorcat, 2016-09-13
@doctorcat

apparently write a script that patches the table :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question