Table already exists in magento -
a:5:{i:0;s:1615:"error in file: "f:\xampp\htdocs\magento\app\code\core\mage\catalog\sql\catalog_setup\install-1.6.0.0.php" - sqlstate[42s01]: base table or view exists: 1050 table 'magentocatalog_product_entity' exists, query was: create table `magentocatalog_product_entity` ( `entity_id` int unsigned not null auto_increment comment 'entity id' , `entity_type_id` smallint unsigned not null default '0' comment 'entity type id' , `attribute_set_id` smallint unsigned not null default '0' comment 'attribute set id' , `type_id` varchar(32) not null default 'simple' comment 'type id' , `sku` varchar(64) null comment 'sku' , `has_options` smallint not null default '0' comment 'has options' , `required_options` smallint unsigned not null default '0' comment 'required options' , `created_at` timestamp null default null comment 'creation time' , `updated_at` timestamp null default null comment 'update time' , primary key (`entity_id`), index `idx_magentocatalog_product_entity_entity_type_id` (`entity_type_id`), index `idx_magentocatalog_product_entity_attribute_set_id` (`attribute_set_id`), index `idx_magentocatalog_product_entity_sku` (`sku`), constraint `fk_8b7cb20052fe7c64e79769f6b728af6c` foreign key (`attribute_set_id`) references `magentoeav_attribute_set` (`attribute_set_id`) on delete cascade on update cascade, constraint `fk_861f86d05c5b679bb47b60be3d1bdd39` foreign key (`entity_type_id`) references `magentoeav_entity_type` (`entity_type_id`) on delete cascade on update cascade ) comment='catalog product table' engine=innodb charset=utf8 collate=utf8_general_ci";i:1;s:958:"#0 f:\xampp\htdocs\magento\app\code\core\mage\core\model\resource\setup.php(644): mage::exception('mage_core', 'error in file: ...') #1 f:\xampp\htdocs\magento\app\code\core\mage\core\model\resource\setup.php(421): mage_core_model_resource_setup->_modifyresourcedb('install', '', '1.6.0.0.19.1.5') #2 f:\xampp\htdocs\magento\app\code\core\mage\core\model\resource\setup.php(327): mage_core_model_resource_setup->_installresourcedb('1.6.0.0.19.1.5') #3 f:\xampp\htdocs\magento\app\code\core\mage\core\model\resource\setup.php(235): mage_core_model_resource_setup->applyupdates() #4 f:\xampp\htdocs\magento\app\code\core\mage\core\model\app.php(428): mage_core_model_resource_setup::applyallupdates() #5 f:\xampp\htdocs\magento\app\code\core\mage\core\model\app.php(354): mage_core_model_app->_initmodules() #6 f:\xampp\htdocs\magento\app\mage.php(683): mage_core_model_app->run(array) #7 f:\xampp\htdocs\magento\index.php(83): mage::run('', 'store') #8 {main}";s:3:"url";s:44:"/magento/index.php/install/wizard/installdb/";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default";}
Comments
Post a Comment