drop database appears 1010

 

 > drop database glc;
ERROR 1010 (HY000): Error dropping database (can't rmdir './glc/', errno: 17)
Fri Dec 13 16:35:32 2019>

 

The reason: his own hand cheap, create a file in the database directory under the data directory glc database, therefore, use drop database glc; does not delete the directory

Solution: delete the files you created.

Expert advice: Do not attempt to create files in the following directory database. We need to create a delete.

Guess you like

Origin www.cnblogs.com/igoodful/p/12036007.html