how to drop database

devang picture devang · Jan 12, 2010 · Viewed 51.6k times · Source

i used the following sytanx

drop database filmo; 

and got the following error:

ERROR 1010 (HY000): Error dropping database (can't rmdir './filmo/', errno: 17)

any ideas..

Answer

tanerkay picture tanerkay · Jan 12, 2010

It means there are files in that directory not relating to MySQL. Another issue, although I doubt it, is insufficient permissions. You may delete that directory from the filesystem.