How to drop database in MySQL ?

Himmat Kumar Nov 12, 2024, 8:26 AM
MySQL
Views 127
Blog Thumbnail

The MySQL DROP DATABASE Statement

The DROP DATABASE statement is used to remove and drop an SQL database Existing in database.

Steps:

  1. Open phpMyAdmin in your system.
  2. Click on the SQL tab.
  3. Paste the query DROP DATABASE Testingdatabase;.
  4. Click the "Go" button.
  5. You should see a success message.
  6. Refresh the page to check if the database was Drop/Remove successfully.

Syntax

DROP DATABASE Data_base_name;

Example of Drop a database:

The following SQL statement drop a database called "Testingdatabase":

DROP DATABASE Testingdatabase;

Comments

Please login to leave a comment.

No comments yet.

Related Posts

how-to-create-table-in-mysql
249 viewsMySQL
Himmat Kumar Nov 12, 2024, 3:56 AM

how to create table in MySQL database?

what-is-mysql-database
135 viewsMySQL
Himmat Kumar Nov 7, 2024, 4:40 AM

What is MySQL database?

how-to-drop-table-in-mysql-database
197 viewsMySQL
Himmat Kumar Nov 25, 2024, 8:29 AM

how to drop table in MySQL database

how-to-create-database-in-MySQL
117 viewsMySQL
Himmat Kumar Nov 7, 2024, 7:46 AM

How to create database in MySQL

rohit-sharma-complete-career-records-2025
537 viewsSports
Himmat Regar Jun 16, 2025, 6:31 PM

Rohit Sharma’s Complete Legacy (2007-2025): Every Recor...

comments-in-html
848 viewsHTML
Himmat Kumar Apr 10, 2025, 11:19 AM

Comments in HTML – Guide with Examples

nextjs-file-based-routing-guide
413 viewsnextjs
Himmat Regar Jun 27, 2025, 11:23 AM

Understanding File-Based Routing in Next.js

framework-concept-in-programming
235 viewsFramework
Himmat Kumar Oct 6, 2024, 3:22 AM

What is a Framework Concept in Programming? And Why You...