ERROR 1010 (HY000): Error dropping database (can’t rmdir ‘./[database_name]/’, errno: 17)

I was getting this cryptic error message earlier. It initially looks like a permissions problem but in fact it was caused by prior use of the SELECT .. INTO OUTFILE which dumped a .csv file into the database directory and was preventing the remove directory command from successfully executing.

That directory is /opt/local/var/db/mysql5/[database_name] on Macports, /var/lib/mysql/[database_name] on Linux (well Debian, at least) and FreeBSD /var/db/mysql/[database_name]

Tags:

2 Responses to “ERROR 1010 (HY000): Error dropping database (can’t rmdir ‘./[database_name]/’, errno: 17)”

  1. LYNN Says:


    Pillspot.org. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality pills. Buy drugs online

    Buy:Mega Hoodia.Valtrex.Arimidex.Zyban.Zovirax.Synthroid.Petcam (Metacam) Oral Suspension.Retin-A.Prednisolone.100% Pure Okinawan Coral Calcium.Lumigan.Prevacid.Accutane.Human Growth Hormone.Nexium.Actos….

  2. used Says:

    used http://chowtb2.AWESOMEBABYCLOTHES.INFO/tag/Hockey+Equipment+flash+used/ : flash…

    flash…

Leave a Reply


Thoughts & Ideas About Web Development is Digg proof thanks to caching by WP Super Cache!