Is it possible to rename a MySQL table? If so, how?
+7
A:
You can use RENAME TABLE
RENAME TABLE `foo` TO `bar`;
or ALTER TABLE
ALTER TABLE `foo` RENAME TO `bar`;
Greg
2009-10-18 13:00:42
A:
If you're using MySQL Query Browser, you can just right-click on the table, select Edit Table and change the Table Name field and apply the changes.
jamesaharvey
2009-10-18 13:03:46
i do not recommend using this tool, because it caused many syntax errors ;)
daemonfire300
2009-10-18 13:06:09