数据库版本问题,在5.66版本以上的mysql,更改my.ini的 explicit_defaults_for_timestamp=false ,重新启动,就好了。
explicit_defaults_for_timestamp=false