MySQL Forums
Forum List  »  Newbie

ERROR 1010 (HY000): Error dropping database (can't rmdir '.\a', errno: 41)
Posted by: zee ku
Date: May 31, 2006 01:53PM

I am using MySql 5.0.21-community Edition for widows XP. I can successfully connect to the MySql Server as a root and create a database 'a'. Which creates a directory 'a' under my mysql\data directory with a single file 'db.opt'. Now dropping the database 'a' gives the following error

ERROR 1010 (HY000): Error dropping database (can't rmdir '.\a', errno: 41)

The directory mysql\data\a does not have any other files or hidden files. The commands I have executed are:

------------
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6 to server version: 5.0.21-community-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create database a;
Query OK, 1 row affected (0.09 sec)

mysql> drop database a;
ERROR 1010 (HY000): Error dropping database (can't rmdir '.\a', errno: 41)
mysql>
---------

I have searched web, lists, bugs and could not find any.

Please help.

Thank you,
Zee

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.