How to delete a database in cPanel

How to delete a database in cPanel

Deleting a database in cPanel is a straightforward process, but it’s important to proceed with caution. Once a database is deleted, it cannot be recovered, so you should always ensure you have a backup before proceeding. Here’s how to delete a database in cPanel:

Steps to Delete a Database in cPanel

1. Log in to cPanel

  • Open your web browser and navigate to your cPanel login page, usually accessed via .
  • Enter your cPanel username and password to log in.

2. Access the Database Section

  • Once logged in, look for the ‘Databases’ section on the cPanel dashboard.
  • Click on the ‘MySQL Databases’ icon. This will take you to the database management area.

3. Locate the Database to Delete

  • In the MySQL Databases section, scroll down to the list of current databases.
  • Find the database that you wish to delete.

4. Delete the Database

  • Next to the database name, you should see a ‘Delete’ or ‘Remove’ option. Click on this link to delete the database.
  • You will likely be asked to confirm the deletion. Confirm that you want to permanently delete the database.

Important Considerations

  • Backup: Before deleting any database, make sure you have a current backup. You can create a backup by exporting the database using phpMyAdmin in cPanel or using a backup tool.
  • Check Dependencies: Ensure that no website or application is currently using the database. Deleting a database that is in use can cause your website or application to stop working.
  • Remove Database Users: After deleting the database, remember to also remove any associated database users if they are no longer needed. This can also be done from the ‘MySQL Databases’ section in cPanel.


Deleting a database in cPanel is a process that should be handled carefully. Always back up your data before proceeding and double-check that the database is no longer required. Regular database maintenance, including the removal of unnecessary databases, helps in managing your server’s resources effectively. However, caution is key to avoid accidental data loss.


Previous Post
How to Delete an FTP User account from cPanel
Next Post
How to create or delete an Email Autoresponder in cPanel