Check out example codes for "how to delete database in mysql". It will help you in understanding the concepts better.

Code Example 1

DROP DATABASE databasename
 TO DELETE DATABASE

Code Example 2

DROP DATABASE databasename

Code Example 3

mysql> drop database <db_name>;

Code Example 4

DROP DATABASE dbname

Learn ReactJs, React Native from akashmittal.com