To copy or duplicate a database in phpMyAdmin:
STEP 1: Log in to cPanel.
There are two methods to log into your cPanel.
- Method 1: Log in to your cPanel directly.
- Method 2: Log in to your cPanel through your Customer Portal.
Through your Customer Portal;
- Log in to your Customer Portal.
- Click on "Log in to cPanel".
STEP 2: Locate the Databases section and click phpMyAdmin.
STEP 3: Select the database you want to copy by clicking on it from the phpMyAdmin homepage.
STEP 4: Once inside the database, click on the Operations tab.
STEP 5: Scroll down to the section labeled Copy database to.
STEP 6: Enter the desired name for the new database.
STEP 7: Choose Structure and Data to copy everything, or select Structure only if you want only the columns without the data.
STEP 8: Tick the box CREATE DATABASE to create a new database during the copy process.
STEP 9: Check the box Add AUTO_INCREMENT value.
STEP 10: Click the Go button to proceed.
STEP 11: Then, click on the Home icon.
You’ll see your newly copied database listed in the left column. Upon entering it, you'll find that it is an exact copy of the original database.