Warning: Deleting a database permanently removes its tables and data. Recovery requires a suitable backup; there is no undo button.
Before deleting
- Identify every application using the database. A test-site label or failed installer does not prove that the data is unused.
- Export the database and download the backup to independent storage.
- Confirm the full database name, including its account prefix.
- Review the users and privileges associated with the database, especially any credentials used by other applications.
Delete the database
- Open Account Manager → MySQL Management in DirectAdmin.
- Select only the intended database.
- Select Delete and read the confirmation carefully before continuing.
Do not assume there is exactly one matching database user or that every associated user is safe to remove. Handle any remaining user cleanup through the panel after checking its other uses.
After deletion
Remove or update applications that referenced the database. Changing a configuration file does not recreate deleted data. If the deletion was accidental, stop further changes and contact support with the database name and the backup you have available.