具有消息的“PDOException”的例外“SQLSTATE”[HY000]:常规错误:1293 Setup Magento 2.0(0.1.0-alpha107)时的表定义不正确

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

  •  12-12-2019
  •  | 
  •  

今天我设置了Magento 2.0的版本(构建0.1.0-alpha107)。但该过程陷入了23%,错误:

Exception 'PDOException' with the message 'SQLSTATE[HY000]: General error: 1293 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause'.
.

以下是错误日志的一些碎片:

模块'magento_sales': 包括

/Applications/MAMP/htdocs/magento/app/code/Magento/Sales/sql/sales_setup/install-2.0.0.php 
[ERROR] exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1293 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause' in /Applications/MAMP/htdocs/magento/setup/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228
.

有帮助吗?
许可以下: CC-BY-SA归因
scroll top