Skip to main content

Magento local to live migration database error

After migration, I have moved Magento from local server to live server, I get this error when I want to save any setting,

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 'PRIMARY', query was: INSERT INTO `core_config_data` (`scope`, `scope_id`, `path`, `value`) VALUES (?, ?, ?, ?)
Moh3n
  • 859
  • 4
  • 15
  • 37