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)

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

  •  12-12-2019
  •  | 
  •  

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

Était-ce utile?

La solution

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top