How To Rename Database Tables in PHPMyAdmin
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

How To Rename Database Tables in PHPMyAdmin

How to rename database tables in phpMyAdmin

Overview

This article will show you how to rename a database table in phpMyAdmin.



What You Need

  • Your MySQL Password, most of the time this is the same as the cPanel password
  • You need to be able to access the cpanel on your account

Access The Database

These steps explain how to access phpMyAdmin.

  1. From your account cpanel, go to the databases group of icons, and click on phpMyAdmin
  2. When prompted, login with your MySQL user password.
  3. From the list of databases, select the database that contains the table you wish to rename.

Running The Alter Command

Once you have the correct database selected, these steps will explain how to run an alter command to rename your table.

  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 the name of your table.
  4. Replace new_table_name with the new name for your table.
  5. Click the go button

The database table should now have the new name.

Knowledgebase Article 319,815 views bookmark tags: databases mysql phpmyadmin


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

A step by step guide on how to manipulate data in your mySQL tables using phpMyAdmin
Knowledgebase Article 196,625 views tags: databases mysql phpmyadmin

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin
Knowledgebase Article 186,283 views tags: Plesk cpanel databases mysql phpmyadmin

Guidance on adding tables to your mySQL database in phpMyAdmin
Knowledgebase Article 112,572 views tags: mysql phpmyadmin

Related Help Content

A repository of information on how you can manage your database by using the phpMyAdmin interface.
Knowledgebase Article 373,181 views tags: commands database mysql phpmyadmin

A guide to duplicating a MySQL database using phpMyAdmin
Knowledgebase Article 239,581 views tags: databases mysql phpmyadmin

Instructions on adding a column to your database in phpMyAdmin
Knowledgebase Article 204,783 views tags: databases mysql phpmyadmin

Step by step directions on how you can search your database using phpMyAdmin
Knowledgebase Article 182,368 views tags: Plesk cpanel databases mysql phpmyadmin

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 778,925 views tags: database mysql phpmyadmin

This article will walk you through the steps to copying and renaming a database with phpMyAdmin.
Knowledgebase Article 159,236 views tags: database phpmyadmin

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database.
Knowledgebase Article 871,016 views tags: creation database mysql

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 439,764 views tags: database mysql optimizing repairing slow speed

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here