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

drop-database, mysql, phpmyadmin

Solution

In my case, I solved the problem by navigating to the folder:

C:\wamp\bin\mysql\mysql5.6.12\data

and remove the database folder which I was trying to drop. That's it.

Problem

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 tried to drop the database 'oro' using phpmyadmin and it also showing the same error message and alerts `"DROP DATABASE" statements are disabled.`

Original source

Related problems