Load a saved database back in, replacing the current data.
- From cPanel Backup: go to Files > Backup, and under Restore a MySQL Database, upload your
.sql(or compressed) backup file. - From phpMyAdmin: select the database and Import the
.sqlfile (article 120). It's safest to drop the existing tables first or import into a fresh database. - If you imported into a new database, update
wp-config.phpto match (article 126).
Important: Restoring replaces existing data. Back up the current database first, in case you need to compare or revert.
