How to drop database in MySQL ?

Himmat Kumar Nov 12, 2024, 8:26 AM
MySQL
Views 385
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
376 viewsMySQL
Himmat Kumar Nov 7, 2024, 4:40 AM

What is MySQL database?

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

How to create database in MySQL

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

how to create table in MySQL database?

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

how to drop table in MySQL database

image-optimization-nextjs-everything-you-should-know
5605 viewsnextjs
Himmat Regar Jun 29, 2025, 5:20 PM

Image Optimization in Next.js: Everything You Should Kn...

pages-vs-app-router-key-differences--migration-mindset
1934 viewsnextjs
Himmat Regar Aug 16, 2025, 7:41 AM

Pages vs App Router: Key Differences & Migration Mindse...

nextjs-markdown-blog-tutorial
6267 viewsnextjs
Himmat Regar Jun 27, 2025, 10:18 AM

How to Build Your First Blog Using Next.js and Markdown

nextjs-explained-beginners-guide-2025
6801 viewsnextjs
Himmat Regar Jun 27, 2025, 10:12 AM

Next.js Explained: A 2025 Beginner’s Guide to the React...

deploy-nextjs-to-vercel
5712 viewsnextjs
Himmat Regar Jul 14, 2025, 6:01 PM

Zero-to-Prod: Deploying Your Next.js Project on Vercel ...

nextjs-incremental-static-regeneration-isr-guide
4500 viewsnextjs
Himmat Regar Jun 29, 2025, 5:18 PM

Incremental Static Regeneration (ISR) Explained with Ex...