How to Rename Database Tables in phpMyAdmin



First, you choose a correct database, then these steps will show you how to run an alter command to rename your tables.

  1. Click the SQL tab at the top.

  2. In the text box, enter the following command:
    ALTER TABLE exampletable RENAME TO new_table_name;
  3. Replace exampletable with your table's name and replace new_table_name with the new name for your table.
  4. Click the Go button.


The database table should now have a new name.

Comments