Databases
Updated 2 July 2026
WordPress stores posts, settings, users, and plugin data in a MySQL or MariaDB database. The connection details live in wp-config.php.
This article explains common WordPress database tasks, including safe exports, URL updates after cloning, and avoiding risky table deletions.
Common tasks
- Export via phpMyAdmin or
wp db exportbefore major changes. - Search-replace URLs after cloning to a new domain.
- Never delete tables unless you know their purpose.