Error 1010 (HY000): Error dropping database (can ' t rmdir '. \test\ ', errno:17)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.