I failed to drop a database:
mysql> drop database mydb; ERROR 1010 (HY000): Error dropping database (can\'t rmdir \'./mydb\', errno: 39)
Directory db/m
in linux , Just go to "/var/lib/mysql" right click and (open as adminstrator), find the folder corresponding to your database name inside mysql folder and delete it. that's it. Database is dropped.