Start for free – your first 3 months are freeSee the offer

Databases and PHP

Delete a database you no longer use

Remove an old database under Web hosting → Databases and free up a slot in your plan. Make a copy first – deletion can't be undone.

2 min readUpdated

On this page
  1. Check before you delete
  2. Delete the database
  3. Frequently asked questions
  4. Can I undo a deletion?
  5. What happens to the database's user?
  6. Will I pay less if I delete a database?

A database that no website uses any more takes up one of the slots in your plan. You can delete it in under a minute. The database and all its data disappear immediately and can't be recovered with a button.

Checklist before deleting and the Delete database window, where the name is typed to confirm
Check three things, and type the name to confirm

Check before you delete

  • Do you have a copy? Export the database in Database tool if there is the slightest chance you'll need the data again. See Export your database.
  • Is a website still using it? Search for the database name, e.g. u12345_old, in wp-config.php or in your scripts' configuration.
  • Is it the right one? The names look alike. Check the whole name before you confirm.

Delete the database

  1. Step 1: Open Databases

    Go to Web hosting → Databases in the control panel.

  2. Step 2: Make a copy

    Click Open next to the database and export it as an SQL file if you don't already have a copy.

  3. Step 3: Click Delete

    Click Delete on the right of the database's line.

  4. Step 4: Type the name to confirm

    The Delete database window asks you to type the database's full name, e.g. u12345_old. This is to avoid deleting the wrong one.

    The Delete database window with the field where the name is typed
    Type the full name to confirm
  5. Step 5: Confirm the deletion

    Click Delete database. You see the message The database is being deleted, and the line shows the status Deleting until it is gone. After that, the slot in your plan is free again.

Frequently asked questions

Can I undo a deletion?

Not from the control panel. If you don't have a copy yourself, create a database with exactly the same name and try to restore it from the daily backups – see Restore a database from a backup. Contact support if that doesn't work.

What happens to the database's user?

It is deleted along with the database. A website that still tries to use it shows a database error.

Will I pay less if I delete a database?

No. The price depends on your plan, not on how many databases you use. You simply get a free slot for a new database.

Read about web hosting

Didn't find the answer?

Reply within 1 working day · Mon–Fri 8:00–17:00 CET