How to drop database in MySQL ?

Himmat Kumar Nov 12, 2024, 8:26 AM
MySQL
Views 121
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

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

What is MySQL database?

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

How to create database in MySQL

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

how to create table in MySQL database?

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

how to drop table in MySQL database

what-is-laravel-request
405 viewsLaravel
Himmat Kumar Dec 24, 2024, 10:55 AM

What is a request in Laravel?

ielts-2025-india-complete-guide
644 viewsEducation
Himmat Regar Jun 19, 2025, 6:47 PM

IELTS 2025 Guide for Indian Test-Takers – Fees, Prep Pl...

html-css-js-online-compiler
380 viewsHTML
Himmat Regar May 30, 2025, 6:54 AM

HTML CSS JS Online Compiler – Best Free Tools to Code a...

gk-questions-answers-2024
504 viewsGK
Himmat Kumar Aug 20, 2024, 4:10 AM

100 Latest General Knowledge Questions and Answers (202...

top-programming-languages-2025
856 viewsTechnology
Himmat Regar May 13, 2025, 9:41 AM

The Developer's Compass: Top Programming Languages to L...

how-to-send-emails-with-queues-in-laravel
152 viewsLaravel
Himmat Kumar Oct 16, 2024, 12:32 PM

How to Send Emails with Queues in Laravel. how to use ...