How to drop database in MySQL ?

Himmat Kumar Nov 12, 2024, 8:26 AM
MySQL
Views 135
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-drop-table-in-mysql-database
203 viewsMySQL
Himmat Kumar Nov 25, 2024, 8:29 AM

how to drop table in MySQL database

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

how to create table in MySQL database?

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

What is MySQL database?

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

How to create database in MySQL

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

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

getting-started-with-html-setup-edit-run-code-in-browser
372 viewsHTML
Himmat Kumar Jul 25, 2024, 1:09 PM

Getting Started with HTML: Setup, Edit, and Run Your Co...

bca-overview-steps-advantages-career-paths
620 viewsDegree
Himmat Kumar Aug 20, 2024, 10:55 AM

Bachelor of Computer Applications (BCA) Overview: Steps...

laravel-csrf-protection-guide
1180 viewsLaravel
Himmat Regar Jun 2, 2025, 6:23 PM

Laravel CSRF Protection Explained – Tokens, Middleware ...

introduction-to-javascript
Himmat Kumar Oct 27, 2023, 11:36 AM

Introduction JavaScript