Delete a database only after confirming that no live website, staging site, scheduled task or reporting integration still uses it. Removing it destroys its tables and records; recreating a database with the same name does not recover that data.
IN THIS ARTICLE
Prepare for the change
Export a restorable SQL backup and identify the database from the application’s configuration. Similar names and old-looking table prefixes are not reliable proof that a database is unused. Agree a retention period for any customer or business records before removal.
01 Delete an unused database from cPanel
- Open Manage My Databases in cPanel and locate the full database name. Review the users assigned to it and compare the name against the application configuration.
- If the application is being retired, disable its scheduled jobs and public entry points first so they do not keep trying to write to a missing database.
- Select Delete for that database and read the confirmation. Confirm only after checking the independent backup and the exact target name.
- Review associated database users separately. A user can serve another database, so do not delete it merely because one database was removed.
Confirm the expected result
Confirm the database is absent from the list and that unrelated sites still operate. Keep the backup and a short record of what was removed and why.
Can I recover a database that I deleted by mistake?
If you removed the wrong database, stop affected applications from making further changes and contact support or restore the verified export through the appropriate process. A panel success message has no undo button for the old rows. Do not restore into a different live database just because it is available.