If you just use ‘drop database name’, I realized that it does not free the space. The files will still be there. To completely wipe my mysql service of all databases (on Ubuntu), I used these commands.

service mysql stop
rm -rf /var/lib/mysql/*
/usr/bin/mysql_install_db
service mysql start 

I can probably make backups if I want do preserve any data.