Exceção 'PDOException" com mensagem " SQLSTATE[HY000]:Erro geral:1293 Incorrecta definição de tabela quando a instalação Magento 2.0 (0.1.0-alpha107)
Pergunta
Hoje eu configurar uma versão do Magento 2.0 (compilação 0.1.0-alpha107).Mas o processo foi preso em 23% com o erro:
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'.
Aqui estão algumas peças de log de erro:
O Módulo "Magento_Sales':Incluem
/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
Solução
Você precisa atualizar para o MySQL 5.6
Fonte: https://github.com/magento/magento2/issues/782
Magento 2 Requisitos: https://github.com/magento/magento2#magento-2-system-requirements
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange