Error installing Magento on Windows 10

Asked

Viewed 33 times

0

Forever in the 50%. Someone gives a light??

Module 'Magento_Directory': Installing data... [ERROR] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'AD' for key 'PRIMARY' in...

1 answer

1


The answer is in the error message itself:

Integrity Constraint Violation: 1062 Duplicate entry 'AD' for key 'PRIMARY' in...

You have a table that has a field with uniqueness restriction ("key dish"), and the installer tries to insert into the table a record with an existing value.

Review your installer, or remove the entry that has the repeated value, and try to install again.

  • 1

    Dude. I was doing the wrong thing here. I installed two versions of mysql, so it wasn’t working... but thanks!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.