MySQL: Error dropping database (errno 13; errno 17; errno 39)

后端 未结 7 1910
清歌不尽
清歌不尽 2020-12-12 18:53

I failed to drop a database:

mysql> drop database mydb;
ERROR 1010 (HY000): Error dropping database (can\'t rmdir \'./mydb\', errno: 39)

Directory db/m

相关标签:
7条回答
  • 2020-12-12 19:50

    In my case it was due to 'lower_case_table_names' parameter.

    The error number 39 thrown out when I tried to drop the databases which consists upper case table names with lower_case_table_names parameter is enabled.

    This is fixed by reverting back the lower case parameter changes to the previous state.

    0 讨论(0)
提交回复
热议问题