I've noticed mysql "Duplicate entry" error after accidental system power down. It occurs for an auto increment primary key. Do you know how can I avoid it? Regards, Marcin Szkudlarek