码迷,mamicode.com
首页 > 数据库 > 详细

Mysql [Err] 1293 there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

时间:2017-03-25 22:18:10      阅读:321      评论:0      收藏:0      [点我收藏+]

标签:use   升级   5.6   default   timestamp   correct   数据库   current   出错   

问题:

   mysql数据 导入数据出错

    [Err] 1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

原因:

   数据库版本问题,mysql5.6及以上才支持,必须升级数据库版本。

Mysql [Err] 1293 there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

标签:use   升级   5.6   default   timestamp   correct   数据库   current   出错   

原文地址:http://www.cnblogs.com/qishuai/p/6618745.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!