TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • 【201305-操作56】在 MapGIS 6.7 基础平台软件中,以下描述不正确的是:
  • ()is not included in the main contents of the operation and maintenance of the  information system.
  • 安全电子交易协议SET是由VISA和MasterCard两大信用卡组织联合开发的电子商务安全协议。以下关于SET的叙述中,不正确的是(  )。
  • C# LoadXml 时发生 hexadecimal value 0x08, is an invalid character 错误
  • 【201305-单选17】城市 GIS 系统通常均采用____投影。
  • IIS和Tomcat共用80端口的解决方案
  • 通过配置ASP.NET的web.config配置文件自动给IIS添加MIME类型
  • Docker: Error response from daemon: Get “https://registry-1.docker.io/v2/“: net/http: request...
  • C# List合并、去重、查找
  • Unity报错:error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

© CopyRight 2014~2024 薄学网.