When installing Magento 2 (with `magento setup:install), I receive the following error:
...
[Progress: 16 / 557]
Module 'Magento_Catalog':
Installing schema...
[Zend_Db_Statement_Exception]
SQLSTATE[HY000]: General error: 3161 Storage engine MEMORY is disabled (Table creation is disallowed)., query was: CREATE TABLE IF NOT EXISTS `catalog_product_index_price_cfg_opt_agr_tmp` (
`parent_id` int UNSIGNED NOT NULL COMMENT 'Parent ID' ,
`child_id` int UNSIGNED NOT NULL COMMENT 'Child ID' ,
`customer_group_id` smallint UNSIGNED NOT NULL COMMENT 'Customer Group ID' ,
`website_id` smallint UNSIGNED NOT NULL COMMENT 'Website ID' ,
`price` decimal(12,4) NULL COMMENT 'Price' ,
`tier_price` decimal(12,4) NULL COMMENT 'Tier Price' ,
PRIMARY KEY (`parent_id`, `child_id`, `customer_group_id`, `website_id`)
) COMMENT='Catalog Product Price Indexer Config Option Aggregate Temp Table' ENGINE=MEMORY charset=utf8 COLLATE=utf8_general_ci
[PDOException]
SQLSTATE[HY000]: General error: 3161 Storage engine MEMORY is disabled (Table creation is disallowed).
This appears to be because Alibaba Cloud has the MEMORY
MySQL storage engine disabled.
Is there any way to set all table creations to use InnoDB?