启动Mysql 报错 

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).


[警告]不赞成使用隐式DEFAULT值的TIMESTAMP。请使用--explicit_defaults_for_timestamp服务器选项(有关更多详细信息,请参阅文档)。

在配置/etc/my.cnf中 [mysqld] 底下加入

explicit_defaults_for_timestamp=true

重启Mysql,OK

更多推荐