巴扎黑2017-04-17 15:01:41
This default value is not allowed by default starting from 5.7. It is recommended to check the official website documentation.
高洛峰2017-04-17 15:01:41
What is your timestamp field type?
ps: In addition, it was mentioned above that the int format is not optimal in all scenarios
大家讲道理2017-04-17 15:01:41
Timestamp supports a limited year range, but occupies 2 bytes. Datetime can support 0000 to 9999, but occupies 4 bytes