Exception 'PDOException' avec message 'SQLSTATE [HY000]: erreur générale: 1293 Définition de la table incorrecte lors de la configuration Magento 2.0 (0.1.0-Alpha107)
Question
Aujourd'hui, j'ai configuré une version de Magento 2.0 (version 0.1.0-Alpha107).Mais le processus a été bloqué à 23% avec erreur:
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'.
Voici quelques pièces du journal d'erreur:
module 'magento_sales': Inclure
/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
La solution
Vous devez passer à MySQL 5.6
Source: https://github.com/magento/magento2/issues/782
Magento 2 Conditions requises: https://github.com/magento/magento2#Magento-2-System-Exigences
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange