Commit 60efc2ce authored by kalvin's avatar kalvin

将数据库的explicit_defaults_for_timestamp改为true

parent c1ee0f17
...@@ -28,6 +28,7 @@ log-error = /var/log/mysql/error.log ...@@ -28,6 +28,7 @@ log-error = /var/log/mysql/error.log
# Disabling symbolic-links is recommended to prevent assorted security risks # Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0 symbolic-links=0
explicit_defaults_for_timestamp = true
log-bin=/var/lib/mysql/mysql-bin log-bin=/var/lib/mysql/mysql-bin
binlog-format=ROW binlog-format=ROW
server_id=1 server_id=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment