November 2, 2005

MySQL is a PITA

My views on MySQL are fairly well-known. It makes me sick, and it sucks.

Herein some further evidence.

DROP DATABASE foo;
ERROR 1010 at line 1: Error dropping database (can't rmdir './foo/', errno: 17)

ls -l foo
.DS_Store

Lovely! It'll delete all the data, but put a file in the data directory it doesn't expect, and it breaks.

You could argue that actually this is Apple's fault for sprinkling those damned .DS_Store files all over the place, but equally a version of MySQL packaged for OS X ought to handle this case, no?

Admittedly this is an old version of MySQL, but I still felt the need to rant. I feel much better now, thank you.

Posted by savs at November 2, 2005 11:28 AM