Eccezione 'PDOEXPECTION' CON MESSAGGIO 'SQLSTATE [HY000]: Errore generale: 1293 Definizione errata della tabella quando Setup Magento 2.0 (0.1.0-alpha107)

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

  •  12-12-2019
  •  | 
  •  

Domanda

Oggi ho impostato una versione di Magento 2.0 (Build 0.1.0-Alpha107).Ma il processo ha bloccato il 23% con errore:

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'.
.

Ecco alcuni pezzi del registro degli errori:

Modulo 'Magento_Sales': Includi

/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
.

È stato utile?

Soluzione

È necessario eseguire l'aggiornamento a MySQL 5.6

Fonte: https://github.com/magento/magento2/issues/782

Magento 2 Requisiti: https://github.com/magento/magento2#Magento-2-Requisiti del sistema

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top