In this article we will see "How to DROP a Database in MySql" and "MySql DROP DATABASE query syntax with example".

"DROP DATABASE" query syntax

"DROP DATABASE" is used to DROP a Database in MySql, the syntax is as follow.


DROP DATABASE databaseName;

"DROP DATABASE" query example

"DROP DATABASE" is used to DROP a Database in MySql, as shown in the example below.


DROP DATABASE testDatabase;

In this article we have seen"How to DROP a Database in MySql", in upcoming articles we will see more about Mysql syntax and queries with example.
  • By Techburps.com
  • Oct 16, 2017
  • MySql