Error in dropping a database in MySQL (can't rmdir '.\oro', errno: 41)

后端 未结 7 1267
臣服心动
臣服心动 2020-12-30 22:29

I can\'t delete a database from mysql. The error is like

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

I trie

7条回答
  •  爱一瞬间的悲伤
    2020-12-30 22:53

    The ERROR 1010 you got is occurred When you create a database, a file is created for you. This implies "create database foo" will create a directory foo in your data directory. All table definitions/data for foo are in the foo directory. All these tables are created in the server and their corresponding files are created by the server. If, for some reason, a file is created in or placed in this directory that is not generated by MySQL, the error 1010 will be issued by the server when you drop foo.

    and in case when you are trying to drop database using phpmyadmin refer this phpmyadmin enable drop database statement.

    Hope this may help you to understand the error.

提交回复
热议问题