While creating product, at the last step after retrieving for a time, Magento gives following error-:
SQLSTATE[23000]: Integrity constraint violation:
I also encountered this problem. I found after changing the table storage engine from MyISAM to Innodb, problem solved .