PDOException Object
(
[message:protected] => SQLSTATE[HY000]: General error: 1005 Can't create table './zybrcom_magento/index_event.frm' (errno: 121)
[string:private] =>
[code:protected] => HY000
[file:protected] => /home/zybrcom/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 276
[trace:private] => Array
(
[0] => Array
(
[file] => /home/zybrcom/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 276
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `index_event` (
`event_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(64) NOT NULL,
`entity` varchar(64) NOT NULL,
`entity_pk` bigint(20) DEFAULT NULL,
`created_at` datetime NOT NULL,
`old_data` mediumtext,
`new_data` mediumtext,
PRIMARY KEY (`event_id`),
UNIQUE KEY `IDX_UNIQUE_EVENT` (`type`,`entity`,`entity_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[1] => Array
(
[file] => /home/zybrcom/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 397
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => CREATE TABLE `index_event` (
`event_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(64) NOT NULL,
`entity` varchar(64) NOT NULL,
`entity_pk` bigint(20) DEFAULT NULL,
`created_at` datetime NOT NULL,
`old_data` mediumtext,
`new_data` mediumtext,
PRIMARY KEY (`event_id`),
UNIQUE KEY `IDX_UNIQUE_EVENT` (`type`,`entity`,`entity_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
)
)
[2] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 636
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `index_event` (
`event_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(64) NOT NULL,
`entity` varchar(64) NOT NULL,
`entity_pk` bigint(20) DEFAULT NULL,
`created_at` datetime NOT NULL,
`old_data` mediumtext,
`new_data` mediumtext,
PRIMARY KEY (`event_id`),
UNIQUE KEY `IDX_UNIQUE_EVENT` (`type`,`entity`,`entity_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `index_process` (
`process_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`indexer_code` varchar(32) NOT NULL,
`status` enum('pending','working') NOT NULL DEFAULT 'pending',
`started_at` datetime DEFAULT NULL,
`ended_at` datetime DEFAULT NULL,
PRIMARY KEY (`process_id`),
UNIQUE KEY `IDX_CODE` (`indexer_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `index_process_event` (
`process_id` int(10) unsigned NOT NULL,
`event_id` bigint(20) unsigned NOT NULL,
`status` enum('new','working','done','error') NOT NULL DEFAULT 'new',
PRIMARY KEY (`process_id`,`event_id`),
KEY `FK_INDEX_EVNT_PROCESS` (`event_id`),
CONSTRAINT `FK_INDEX_EVNT_PROCESS` FOREIGN KEY (`event_id`) REFERENCES `index_event` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `FK_INDEX_PROCESS_EVENT` FOREIGN KEY (`process_id`) REFERENCES `index_process` (`process_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[3] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Index/sql/index_setup/mysql4-install-1.4.0.0.php
[line] => 62
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
CREATE TABLE `index_event` (
`event_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(64) NOT NULL,
`entity` varchar(64) NOT NULL,
`entity_pk` bigint(20) DEFAULT NULL,
`created_at` datetime NOT NULL,
`old_data` mediumtext,
`new_data` mediumtext,
PRIMARY KEY (`event_id`),
UNIQUE KEY `IDX_UNIQUE_EVENT` (`type`,`entity`,`entity_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `index_process` (
`process_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`indexer_code` varchar(32) NOT NULL,
`status` enum('pending','working') NOT NULL DEFAULT 'pending',
`started_at` datetime DEFAULT NULL,
`ended_at` datetime DEFAULT NULL,
PRIMARY KEY (`process_id`),
UNIQUE KEY `IDX_CODE` (`indexer_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `index_process_event` (
`process_id` int(10) unsigned NOT NULL,
`event_id` bigint(20) unsigned NOT NULL,
`status` enum('new','working','done','error') NOT NULL DEFAULT 'new',
PRIMARY KEY (`process_id`,`event_id`),
KEY `FK_INDEX_EVNT_PROCESS` (`event_id`),
CONSTRAINT `FK_INDEX_EVNT_PROCESS` FOREIGN KEY (`event_id`) REFERENCES `index_event` (`event_id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `FK_INDEX_PROCESS_EVENT` FOREIGN KEY (`process_id`) REFERENCES `index_process` (`process_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
)
)
[4] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 376
[args] => Array
(
[0] => /home/zybrcom/public_html/app/code/core/Mage/Index/sql/index_setup/mysql4-install-1.4.0.0.php
)
[function] => include
)
[5] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 276
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 1.4.0.2
)
)
[6] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 240
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.4.0.2
)
)
[7] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Index/Model/Mysql4/Setup.php
[line] => 34
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 161
[function] => applyUpdates
[class] => Mage_Index_Model_Mysql4_Setup
[type] => ->
[args] => Array
(
)
)
[9] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 363
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[10] => Array
(
[file] => /home/zybrcom/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 295
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[11] => Array
(
[file] => /home/zybrcom/public_html/app/Mage.php
[line] => 596
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[12] => Array
(
[file] => /home/zybrcom/public_html/index.php
[line] => 80
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[errorInfo] => Array
(
[0] => HY000
[1] => 1005
[2] => Can't create table './zybrcom_magento/index_event.frm' (errno: 121)
)
)