cancel
Showing results for 
Search instead for 
Did you mean: 

Installation is incomplete 50% PDOException: SQLSTATE[23000]: Integrity constraint violation

Installation is incomplete 50% PDOException: SQLSTATE[23000]: Integrity constraint violation

How can I fix this error and what is the problem.

Starting Magento installation:
File permissions check...

Required extensions check...

Enabling Maintenance Mode...

Installing deployment configuration...

Installing database schema:
Schema creation/updates:
Module 'Magento_Store':

Module 'Magento_Directory':

Module 'Magento_Eav':

Module 'Magento_Backend':

Module 'Magento_Theme':

Module 'Magento_Customer':

Module 'Magento_AdminNotification':

Module 'Magento_Indexer':

Module 'Magento_AdvancedPricingImportExport':

Module 'Magento_Config':

Module 'Magento_Authorization':

Module 'Magento_Cms':

Module 'Magento_Rule':

Module 'Magento_Backup':

Module 'Magento_Catalog':

Module 'Magento_Bundle':

Module 'Magento_BundleImportExport':

Module 'Magento_CacheInvalidate':

Module 'Magento_Quote':

Module 'Magento_SalesSequence':

Module 'Magento_Security':

Module 'Magento_CatalogImportExport':

Module 'Magento_Payment':

Module 'Magento_Cron':


Module 'Magento_Translation':

Module 'Magento_GoogleOptimizer':

Module 'Magento_Ups':

Module 'Magento_SampleData':

Module 'Magento_CatalogAnalytics':

Module 'Magento_Usps':

Module 'Magento_Variable':

Module 'Magento_Braintree':

Module 'Magento_Version':

Module 'Magento_Webapi':

Module 'Magento_WebapiSecurity':

Module 'Magento_Weee':
Running schema recurring...

Module 'Magento_CatalogWidget':

Module 'Dotdigitalgroup_Email':
Running schema recurring...

Module 'Magento_WishlistAnalytics':

Module 'Rokanthemes_BestsellerProduct':

Module 'Rokanthemes_Blog':

Module 'Rokanthemes_Brand':

Module 'Rokanthemes_Categorytab':

Module 'Rokanthemes_CustomMenu':

Module 'Rokanthemes_Featuredpro':

Module 'Rokanthemes_LayeredAjax':

Module 'Rokanthemes_MostviewedProduct':

Module 'Rokanthemes_Newproduct':

Module 'Rokanthemes_Onsaleproduct':

Module 'Rokanthemes_OpCheckout':

Module 'Rokanthemes_PriceCountdown':

Module 'Rokanthemes_ProductTab':

Module 'Rokanthemes_QuickView':

Module 'Rokanthemes_RokanBase':

Module 'Rokanthemes_SearchbyCat':

Module 'Rokanthemes_SlideBanner':

Module 'Rokanthemes_Testimonial':

Module 'Rokanthemes_Themeoption':

Module 'Shopial_Facebook':

Module 'Temando_Shipping':

Module 'Vertex_Tax':


Installing user configuration...

Enabling caches:
Current status:
Array ( [config] => 1 [layout] => 1 [block_html] => 1 [collections] => 1 [reflection] => 1 [db_ddl] => 1 [eav] => 1 [customer_notification] => 1 [config_integration] => 1 [config_integration_api] => 1 [full_page] => 1 [translate] => 1 [config_webservice] => 1 ) 

Installing data...
Data install/update:
Module 'Magento_Store':

Module 'Magento_Directory':
Installing data... 
[ERROR] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'AD' for key 'PRIMARY' in D:\laragon\www\accessorieshop\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 D:\laragon\www\accessorieshop\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array) #1 

1 REPLY 1

Re: Installation is incomplete 50% PDOException: SQLSTATE[23000]: Integrity constraint violation

Hello @ellen_ortiz

 

Please try with incognito of chrome browser or private browser on firefox.

If that don't work, try with new setup.

 

Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer