Magento 2.3.2 to 2.3.5 : Column 'shipping_name' cannot be part of FULLTEXT index

magento.stackexchange https://magento.stackexchange.com/questions/331890

  •  15-04-2021
  •  | 
  •  

Domanda

I tried upgrading a magento store from 2.3.2 to 2.3.5, but when i run

 php bin/magento setup:upgrade

I recieve a strange database error relating to a index on the sales_shipment_grid table:

SQLSTATE[HY000]: General error: 1283 Column 'shipping_name' cannot be part of FULLTEXT index, query was: ALTER TABLE `sales_shipment_grid` MODIFY COLUMN `entity_id` int(10) UNSIGNED NOT NULL   COMMENT "Entity ID", MODIFY COLUMN `increment_id` varchar(50) NULL  COMMENT "Increment ID", MODIFY COLUMN `store_id` smallint(5) UNSIGNED NULL   COMMENT "Store ID", MODIFY COLUMN `order_increment_id` varchar(32) NOT NULL  COMMENT "Order Increment ID", MODIFY COLUMN `order_id` int(10) UNSIGNED NOT NULL   COMMENT "Order ID", MODIFY COLUMN `order_created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT "Order Increment ID"

I checked the web for this error, and found some people saying that all the Encoding and Collation fields should be the same for this index. But those all seem to be the same in this table (Encoding: cp1252 West Europe and Collation: latin1_swedish_ci).

Anybody encounter this issue before, or know a possible solution?

MySQL version is 5.7.26

È stato utile?

Soluzione

For people hitting the same error:

ALTER TABLE sales_shipment_grid CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

Fixes the problems!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top