TIMESTAMP with implicit DEFAULT value is deprecated

2020-09-25 13:38:31 码农 1976

 

问题描述:Windows环境下安装mysql 5.7.25版本时遇到一个问题。初始化命令为 bin/mysqld --initialize --console,执行后报错:TIMESTAMP with implicit DEFAULT value is deprecated。

解决方案:是配置原因造成的问题,需要在根目录下 my.ini文件中 [mysqld] 下面增加一行:

xplicit_defaults_for_timestamp=true

之后,再次初始化,这次就没有报错了。

—— 完 ——
  • Which of the following insurance types provide for a loss arising from fraudulent acts by employees?
  • 【201305-操作58】下列关于 MapGIS K9 制图综合的说法正确的是:
  • 【201305-单选17】城市 GIS 系统通常均采用____投影。
  • Unity报错:error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
  • MOU值(Minutes Of Usage Value)
  • C# .NET 域名 Whois 查询代码
  • Docker: Error response from daemon: Get “https://registry-1.docker.io/v2/“: net/http: request...
  • IIS访问报0x80070021错误代码的解决方案
  • ()is not included in the main contents of the operation and maintenance of the  information system.
  • MIS和DSS之间的区别

© CopyRight 2014~2024 薄学网.