A database is a way to store lots of information. You might want to store the names and addresses of all your contacts, or maybe customer information. One of the easiest way to delete a database is through phpMyAdmin, which is available on most hosts that offer MySQL databases.

Delete an existing database on localhost using phpMyAdmin 

Make sure you start your web server before delete a database. 

Read more about: How to create web server on localhost with XAMPP? or How to create web server on localhost with WampServer?

  • Point your browser to phpMyAdmin address by typing http://localhost/phpmyadmin
  1. In phpMyAdmin, click on Databases tab.
  2. Select the database you want to drop.
  3. Click Drop button.

Selecte database
Selecte database

  • Click Yes to comfirm delete database.

Drop database
Drop database