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

  • Post author:
  • Post category:mysql


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



版权声明:本文为weixin_46205984原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。