There is a bug reported and a patch exists (see bugs.mysql.com). Not
pushed yet though.
T
Joseph E. Sacco, Ph.D. wrote:
>I have noticed recently [mysql-4.1.8] that it takes two attempts to drop
>a database in a cluster. For example,
>
> mysql> drop database rt3;
> ERROR 1010 (HY000): Error dropping database (can't rmdir
> './rt3/', errno: 17)
>
>The error message is correct. The directory, /usr/local/mysql/var/rt3,
>is still there.
>
> mysql> drop database rt3;
> Query OK, 0 rows affected (0.04 sec)
>
>
>Now the directory is gone. Hmmmm....
>
>
>Thoughts???
>
>
>-Joseph
>
>
>