does uninstalling mysql delete database code example
Example 1: mysql remove database
mysql> drop database <db_name>;
Example 2: how to delete database in mysql
DROP DATABASE databasename
TO DELETE DATABASE
mysql> drop database <db_name>;
DROP DATABASE databasename
TO DELETE DATABASE