HostMonster Web Hosting Help

How to Copy or Rename a Database

How to Copy a Database

To copy a database you will need to export the original database, and then import it onto a new database.

How to Export the Original Database

  1. Go to phpMyAdmin
  2. Click on the existing database on the left sidebar
  3. Click Export at the top
  4. Click the "Save on server in the directory" checkbox, and click Go
  5. This will save a .sql file to a temporary folder on your account.

How to Import onto a New Database

  1. Create a new database in cPanel
  2. Go to phpMyAdmin
  3. Click the new database name in the top left
  4. Click Import in the main area of phpMyAdmin
  5. Click the radio button "Select from the web server upload directory /home/USERNAME/tmp/:"
  6. Select the database you imported earlier from the drop down box and click Go
Note: phpMyAdmin will timeout after 30 seconds of attempting to import.

If you experience this timeout, please upload the database backup file to your HostMonster account and Create a Ticket with the details. Our technicians will perform the import for you.

For security reasons, it's best to upload your database to the /home/USERNAME section of your account. (Replace USERNAME with your account username.)


Renaming a Database

Unfortunately, the only way to rename a database is to follow the above direction and import the database to a new, empty database with the desired name.

Knowledgebase Article 15,688 views bookmark tags: database phpmyadmin (updated 819 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

A guide on renaming the tables inside of your database using phpMyAdmin (updated 11 days ago)
Knowledgebase Article 13,212 views tags: databases mysql phpmyadmin

A guide to duplicating a MySQL database using phpMyAdmin (updated 828 days ago)
Knowledgebase Article 28,834 views tags: databases mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface. (updated 827 days ago)
Knowledgebase Article 143,400 views tags: commands database mysql phpmyadmin

Related Help Content

Instructions on changing the name of your database using phpMyAdmin (updated 828 days ago)
Knowledgebase Article 33,289 views tags: cpanel databases mysql phpmyadmin

How do I import a backup of my database (.sql file) using phpMyAdmin? (updated 827 days ago)
Knowledgebase Article 127,949 views tags: database mysql phpmyadmin

Step by step directions on how you can search your database using phpMyAdmin (updated 828 days ago)
Knowledgebase Article 11,769 views tags: Plesk cpanel databases mysql phpmyadmin

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin (updated 826 days ago)
Knowledgebase Article 34,966 views tags: Plesk cpanel databases mysql phpmyadmin

Instructions on deleting tables from your database using phpMyAdmin (updated 828 days ago)
Knowledgebase Article 34,416 views tags: Plesk cpanel databases mysql phpmyadmin

Guidance on adding tables to your mySQL database in phpMyAdmin (updated 827 days ago)
Knowledgebase Article 13,634 views tags: mysql phpmyadmin

How to export your database in phpMyAdmin.. (updated 828 days ago)
Knowledgebase Article 62,970 views tags: database export myphpadmin

How to Restore your MySQL Database? (updated 1016 days ago)
Knowledgebase Article 150,015 views tags: admin database mysql php phpmyadmin restore