How to Copy or Rename a Database
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 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 into 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 you will need to import your database using SSH. Instructions for that can be found at HostMonster.com/hosting/help/162



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 161,474 views bookmark tags: database phpmyadmin


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will show you how to rename a database table in phpMyAdmin.
Knowledgebase Article 322,415 views tags: databases mysql phpmyadmin

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

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

Related Help Content

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

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

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

This article will walk you through copying and moving files using the File Manager.
Knowledgebase Article 268,270 views tags: cpanel filemanager

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

How to Restore your MySQL Database?
Knowledgebase Article 383,854 views tags: admin database mysql php phpmyadmin restore

How to export your database in phpMyAdmin..
Knowledgebase Article 258,589 views tags: database export myphpadmin

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 441,924 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