在启动mysql出现如下警告:
2016-03-08 17:22:01 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
解决办法:
在my.cnf文件中添加如下参数,关闭警告:
[mysqld]
explicit_defaults_for_timestamp=true
重新启动数据库
阅读(4827) | 评论(0) | 转发(0) |