cancel
Showing results for 
Search instead for 
Did you mean: 

[PDOException] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5' for key

[PDOException] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5' for key

I have tried 

php bin/magento setup:upgrade

and

php bin/magento setup:unistall 

commands but does not work. 

1 REPLY 1

Re: [PDOException] SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5' for k

I have tried the installation by making new database as well.