Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk3 min

How to Duplicate a WordPress Database With phpMyAdmin

Copy WordPress database tables by exporting an SQL file in phpMyAdmin and importing it into a separate, empty destination database. Learn how to select the right tables, avoid overwrites, and verify the copied installation.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To duplicate a WordPress database in phpMyAdmin, export the source database’s WordPress tables as an SQL file, then import that file into a separate destination database. Back up first and verify the database and tables you select: importing into a populated or incorrect database can overwrite data. This copies database content only—not themes, plugins, uploads, or other WordPress files.

Before you start: identify the database and back it up

Find the database name and table prefix in the source site’s wp-config.php. The $table_prefix value should match the beginning of that installation’s WordPress table names. If the database is shared with another application or WordPress installation, use the prefix to identify the correct tables rather than exporting unrelated data. See WordPress’s wp-config.php documentation and guidance for test-driving WordPress.

Make and retain a database backup before copying or changing anything. WordPress’s database backup instructions explain the export process. An SQL export includes database content such as posts, pages, comments, and settings; it does not include themes, plugins, uploaded media, wp-config.php, or other files. Keep a separate copy of the WordPress files if you need a full-site backup or clone.

Export the WordPress tables from phpMyAdmin

  1. Sign in to the hosting control panel and open phpMyAdmin. Select the source WordPress database from the database list.
  2. Open the Export tab. For a straightforward copy of all tables in a database containing only this WordPress installation, use the Quick option and choose SQL as the format.
  3. If the database contains other applications or installations, choose Custom and select only the tables that belong to this WordPress installation, identified by the prefix in wp-config.php. Review the export settings, then start the export and save the downloaded SQL file somewhere safe.

phpMyAdmin’s labels and layout can differ by version and host. WordPress describes the Quick and Custom export approaches in its database backup documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare a separate destination database

Create a new database through your hosting control panel, or select the destination database already provided for the copy. For a straightforward restore, WordPress recommends an empty destination with no tables. Before proceeding, verify its name in phpMyAdmin: importing into the source or another populated database can replace existing tables or data, depending on the dump and import settings.

Import the SQL file

  1. In phpMyAdmin, select the destination database—not the source database.
  2. Open the Import tab and use its file-selection control to choose the SQL export you downloaded.
  3. Start the import and wait for phpMyAdmin to report whether it completed successfully. If it reports an error, do not assume the copy is complete; check the message and the destination tables before trying again.

The available upload control and maximum file size depend on the phpMyAdmin installation and host configuration, so there is no universal upload limit. WordPress recommends using direct MySQL or MariaDB commands when a database is too large for phpMyAdmin’s practical capacity; its backup guidance covers that alternative.

Configure and verify the copied WordPress installation

The copy must connect to the destination database with its own database credentials, and its $table_prefix must correspond to the names of the imported tables. If the destination installation uses a different prefix, WordPress will look for different tables. Changing prefixes is not just a matter of renaming tables: WordPress also cautions that related keys in the usermeta table may need corresponding changes. Make such changes only with a backup and careful validation; see the WordPress migration guidance.

  • Confirm that the expected WordPress tables appear in the destination database.
  • Check that the copied site’s configuration uses the destination database name, username, password, and host supplied by the host.
  • Confirm that the configured table prefix matches the imported table names.
  • Test that the copied installation can connect to its database. If this is a test copy or a site move, assess separately whether files and environment-specific settings also need to be copied or adjusted.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What this database copy does—and does not—duplicate

An SQL export and import duplicates the selected database tables. It does not by itself produce a complete WordPress clone: media files, themes, plugins, and other site files live outside the database and must be handled separately if the goal is to reproduce the whole site. For a large database or a full-site move, choose a method suited to the required scope and the host’s limits rather than treating a database-only copy as a complete migration.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.