Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

erro ao importar base de dados
 
Sousa
Moderator
 
Avatar
Total Posts:  348
Joined:  2007-09-02
Porto, Portugal
 

Se alguma vez estiverem a importar a base de dados de um arquivo sql e aparecer este erro:

#1452 - Cannot add or update a child row: a foreign key constraint fails

abram o arquivo sql e insiram uma linha com a seguinte instrução:

SET FOREIGN_KEY_CHECKS = 0;

Após isso tentem importar novamente smile concerteza já irão conseguir

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top