Removing a database you no longer use keeps your account tidy and saves space. Deleting is permanent, so check carefully that nothing on your website still depends on it.
1. Log in to your cPanel account.
2. In the Databases section, click on MySQL Databases.
![]()
3. Under Current Databases, you can see a list of all your databases. Locate the database you want to remove and click on Delete.
4. Click on Delete Database.
Before you delete
Download a backup of the database first. If a website still uses the database, it will show an error such as “Error establishing a database connection” as soon as it is removed. Check your site’s configuration file (wp-config.php for WordPress) to confirm which database it uses.
Database users stay behind
Deleting a database does not remove its users. If they are no longer needed, delete them from the same MySQL Databases page so no unused accounts remain.
Cannot undo this
Once deleted, a database can only come back from a backup. Keep your backup until you are sure the site works without it.
Frequently asked questions
Can I recover a deleted database? Only from a backup. Download one before you delete.
Will deleting a database delete my website files? No. Only the database is removed. Files in public_html stay in place.
Should I delete the database user too? If nothing else uses it, yes. Unused users are an unnecessary risk.
Related guides
- Create a database in cPanel
- Create a database username
- Add a user to a database and grant privileges
- Delete a database in cPanel
Need cPanel hosting in Kenya? See KickHost hosting plans or contact our team.
Found this useful? Share it.
