Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: olibraga on December 08, 2011, 09:57:07 AM

Title: mysql 5.5.17 [4.1] - Can't drop test database
Post by: olibraga on December 08, 2011, 09:57:07 AM
--- This is a duplicate of a bug I posted in TCB Bugs by mistake! ---
When you try to: DROP DATABASE test; you get:
ERROR 1010 (HY000): Error dropping database (can't rmdir './test/', errno: 17)

The reason is that the "/usr/local/mysql/data/test" directory contains a superflous ".empty" file which MySql doesn't know about and leaves behind and can't therefore rmdir "test".
/usr/local/mysql/data/test is a copy of usr/local/mysql/tc/data/test.
Title: Re: mysql 5.5.17 [4.1] - Can't drop test database
Post by: bmarkus on December 08, 2011, 10:26:58 AM
Thanks, will fix in next update.