Overview
Deleting a database is permanent and cannot be undone. Make sure your website is not using that database before removing it.
Step 1 — Confirm which database your site uses
For WordPress
Check your wp-config.php file:
DB_NAME DB_USER DB_PASSWORD
For other PHP apps
Check the configuration file (config.php, .env, settings.php).
Step 2 — Download a backup
In case you need it later:
- Open phpMyAdmin
- Select your database
- Click Export
- Choose Quick → SQL
- Download the file
Step 3 — Delete the database
- Open DirectAdmin → MySQL Management
- Click the database name
- Click Delete
- Confirm the deletion
Warning
- Your website will stop working if you delete an active database.
- Always create a backup before deleting any database.