You may need to check two things.
1- Database Foleder's permission The database you wants to delete must have the same owner as mysql process has.
2- Directory Must be empty Goto the mysql data directory and verify that directory is empty
After that connect your mysql cli and run drop database command again.