SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
The solution is to modify your /app/etc/config.xml file with the following:
Original statement
SET NAMES utf8
Modified statement
SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0; SET UNIQUE_CHECKS=0;
Twitter: @brentwpeterson on Twitter
Linkedin: http://www.linkedin.com/in/brentwpeterson
View My Magento Profile
Hi, thank you for this fix. Should we remove these lines after the upgrade, or we should keep them all the time.
ReplyDeleteDeskin, yes you can change it back to the original
ReplyDeleteJust leave the lines in.. save some time with useless relationship errors.
ReplyDeleteso many times , i get similar issue when login. is that same solution for this problem. Please suggest me ....
ReplyDeleteThanks
This comment has been removed by the author.
ReplyDelete