In this tutorial you will learn about the MySQL Drop Database and its application with practical example.
MySQL drop database
DROP followed by a name of the database is used to drop or delete a database.
DROP DATABASE emp_db;
The MySQL statement above will drop the “emp_db” database;
Table Of Contents−
Note: While deleting a database using PHP script, it does not prompt you for any confirmation. So be careful while deleting a MySQL database.