MySQL时间字段如何自动获取插入时间

 字段类型选择timestamp  

默认栏 写CURRENT_TIMESTAMP

复选框勾上

原文地址:https://www.cnblogs.com/nuliyao123/p/14077790.html