I'm getting this error. I tried Googling, searching through StackOverflow, but I couldn't find the same error code. Here's what I get:
#7 - Error on rename of './wp_data/products_per_store.frm' to './wp_data/#sql2-c16-40.frm' (Errcode: 1)
When trying to run this query:
ALTER TABLE `products_per_store`
DROP `brand`,
DROP `upc`,
DROP `price_increase`,
DROP `price_decrease`,
DROP `oos_certeincomp`,
DROP `oos_allcomp`,
DROP `flagged`,
DROP `optimal`,
DROP `low`;
I'm on XAMPP on Linux (Fedora 18 if that matters). I tried changing file permissions but it didn't help, restarting MySQL didn't either.