Production system has been deployed Mysql5.5.40 this version, today because of the development needs, the production library data dump out into the development and build the test environment!
After the test is completed, the data temporary data is deleted according to the development requirements.
I use the delete database directly
Mysql>drop database test;
Error, Error 1010 (HY000): Error dropping database (can ' t rmdir '. \test\ ', errno:17)
Into the database view, the data object has been deleted, but asked what the error?
Suspect is a bug, found on the website of MySQL MySQL bug based on the version number confirmed that the development database is 5.5.20, is not very consistent;
However, the solution provided by the bug can refer to
Enter the database data directory, delete the content under test file, delete again, will prompt the database does not exist!
Note: The same operation in 5.5.40 no error, but in the development of 5.5.20 reported wrong, for the moment defined as 5.5.20 bug it
Error 1010 (HY000): Error dropping database (can ' t rmdir '. \test\ ', errno:17)