MySQL version lower, the timestamp value of the two types are not supported

MySQL报错:错误代码: 1293 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP

The reason: two inconsistent versions of mysql server version does not support a low table there are two. TIMESTAMP  type column.

 

Project version is:

  • Configuration environment (recommended jdk8, mysql5.7, maven3, idea)
  • I was 5.52

 

Solution? 

Is the use of the two servers are using the latest version of this approach ...

 

Guess you like

Origin www.cnblogs.com/lihailong/p/11489276.html