TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • ()is not included in the main contents of the operation and maintenance of the  information system.
  • 安全电子交易协议SET是有VISA和MasterCard两大信用卡组织联合开发的电子商务安全协议。以下关于SET的叙述中,正确的是()
  • 全国GIS应用水平考试简介
  • Redis相比Memcached有哪些优势?
  • Docker 运行Redis报错: WARNING overcommit_memory is set to 0!解决方案
  • ()is a decentralized database, ensure that the data will not be tampered with and forged。
  • 在计算机“.”上没有找到WAS服务的解决方案
  • svn在commit后报错:is scheduled for addition, but is missing
  • 【201305-多选53】关于 GIS 应用模型的分类不正确的是:
  • Visual Studio 设置css代码多行快速变成一行

© CopyRight 2014~2024 薄学网.