Я запускаю команду для переиндексации php -f bin/magento indexer:reindex
, но у меня возникают следующие проблемы:
Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:03
Product Flat Data index has been rebuilt successfully in 00:00:00
Category Flat Data indexer process unknown error:
SQLSTATE[42S01]: Base table or view already exists: 1050 Table './underwor_under_mage/catalog_category_flat_store_1_old' already exists, query was: ALTER TABLE catalog_category_flat_store_1 RENAME TO catalog_category_flat_store_1_old
Category Products index has been rebuilt successfully in 00:00:00
Product Categories index has been rebuilt successfully in 00:00:00
Product Price index has been rebuilt successfully in 00:00:00
Product EAV index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:00
Catalog Product Rule index has been rebuilt successfully in 00:00:00
Stock index has been rebuilt successfully in 00:00:00
Catalog Search indexer process unknown error:
SQLSTATE[HY000]: General error: 1813 Tablespace for table '`underwor_under_mage`.`catalogsearch_fulltext_scope1`' exists. Please DISCARD the tablespace before IMPORT., query was: CREATE TABLE IF NOT EXISTS `catalogsearch_fulltext_scope1` (
`entity_id` int UNSIGNED NOT NULL COMMENT 'Entity ID' ,
`attribute_id` int UNSIGNED NOT NULL COMMENT 'Attribute_id' ,
`data_index` longtext NULL COMMENT 'Data index' ,
PRIMARY KEY (`entity_id`, `attribute_id`),
FULLTEXT `FTI_FULLTEXT_DATA_INDEX` (`data_index`)
) COMMENT='catalogsearch_fulltext_scope1' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci
Когда я пытаюсь удалить табличное пространство с помощью ALTER TABLE catalogsearch_fulltext_scope1 DISCARD TABLESPACE
, он говорит, что таблица не существует, и это действительно так.
Это не выделенный хостинг, поэтому я не могу удалить файлы с /var/lib/mysql/database_name
Есть ли другой способ исправить это?