CREATE TABLE `test` ( id int, `gmt_create` datetime DEFAULT NOW() not NULL )ENGINE=InnoDB; mysql5.5 不支持 datetime DEFAULT NOW() 的写法,mysql5.6可以! 相关文章: 2022-12-23 2021-12-18 2021-05-30 2021-05-27 2022-12-23 2022-12-23 2021-08-11