Linux mysql strapi 报错 error Error: ER_TOO_MUCH_AUTO_TIMESTAMP_COLS

报错信息: error Error: ER_TOO_MUCH_AUTO_TIMESTAMP_COLS: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause     at Query.Sequence._packetToError

解答:

您好:这是因为时间戳定义在My​​SQL 5.5和更高版本之间存在一些差异。Strapi支持Mysql版本> = 5.6

您可以在此处检查相关查询是否适用于5.6,而不适用于5.5

则~将mysql升级为5.6版本以上

原文地址:https://www.cnblogs.com/gqx-html/p/14464785.html