我对商店的 sql 备份有一些严重的问题,我只有 sql 备份的形式。每次我想用 phpmyadmin 导入备份时(即使在新数据库上),我都会收到此错误:
插入
catalog_category_entity_datetime
值 (1,3,52,0,3,NULL),(2,3,53,0,3,NULL),(9,3,52,0,7,NULL),(10,3,53, 0,7,NULL),(11,3,52,0,8,NULL),(12,3,53,0,8,NULL),(13,3,52,0,9,NULL),( 14,3,53,0,9,NULL),(15,3,52,0,10,NULL),(16,3,53,0,10,NULL),(25,3,52,0, 15,NULL),(26,3,53,0,15,NULL),(33,3,52,0,19,NULL),(34,3,53,0,19,NULL),(35, 3,52,0,20,NULL),(36,3,53,0,20,NULL),(37,3,52,0,21,NULL),(38,3,53,0,21, NULL),(203,3,52,0,104,NULL),(204,3,53,0,104,NULL),(207,3,52,0,106,NULL),(208,3,53,0,106,NULL) ,(209,3,52,0,107,NULL),(210,3,53,0,107,NULL),(211,3,52,0,108,NULL),(212,3,53,0,108,NULL),( 213,3,52,0,109,NULL),(214,3,53,0,109,NULL),(215,3,52,0,110,NULL),(216,3,53,0,110,NULL),(217, 3,52,0,111,NULL),(218,3,53,0,111,NULL),(219,3,52,0,112,NULL),(220,3,53,0,112,NULL),(221,3, 52,0,113,NULL),(222,3,53,0,113,NULL),(223,3,52,0,114,NULL),(224,3,53,0,114,NULL),(225,3,52, 0,115,NULL),(226,3,53,0,115,NULL),(227,3,52,0,116,NULL),(228,3,53,0,116,NULL),(229,3,52,0,117,NULL),(230,3,53,0,117,NULL),(231,3,52,0,118,N[ ...]MySQL 回应:
#1062 - 密钥“B3A14FF699AA1FA4D4DDA0B048582A7A”的重复条目“3-249-52-0”
我需要从该文件中获得数千种产品和近一百个类别!我尝试禁用外键检查,但似乎没有任何效果。我也只是将带有前缀“category_”和“eav_”的表放在一个单独的 sql 文件中,但那里相同......(我也找不到“3-249-52-0”或在 sql 文件中键入)
有人知道如何解决这个问题吗?
谢谢