安装MySQL报错:[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defau

win10安装mysql5.7.23(免安装版本)过程中

在执行mysqld --initialize命令时

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

解决方法:

在my.ini配置文件中添加配置:

[mysqld]

explicit_defaults_for_timestamp=true

你可能感兴趣的:(msyql,mysql)