Message 'SQLSTATE [HY000]を使用した例外「PDOException」:一般的なエラー:1293 Magento 2.0(0.1.0-alpha107)のときの誤った表定義
質問
今日のMagento 2.0(Build 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
. 解決
MySQL 5.6 にアップグレードする必要があります。
ソース: https://github.com/magento/magento2/issues/782
Magento 2の要件: https://github.com/magento/magento2#Magento-2-System-Requirements
所属していません magento.stackexchange