Mysql 日志文件 /var/log/mysql 报错:
TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more details)
解决办法,修改配置文件 /etc/my.cnf ,添加 explicit_defaults_for_timestamp ,如下:
[mysqld]
explicit_defaults_for_timestamp=true