TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • Earned value management(EVM) integrates the scope baseline with the ()baseline
  • Windows 10 家庭版如何启用Administrator帐户?
  • C#中List〈string〉和string[]数组之间的相互转换
  • 【201305-单选13】在GIS 的开发设计中,将逻辑模型转化为物理模型的这个阶段是:
  • 解决svn because no checksum is recorded for this file问题
  • SQL Server 使用 JSON_VALUE 函数查询 JSON 数据
  • C# List根据对象属性去重的四种方法
  • [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'E RROR_FOR_DIVISION_BY_ZERO'
  • ()is not included in the main contents of the operation and maintenance of the  information system.
  • 【201305-多选54】下面关于 GIS 在交通管理中的应用,描述正确的是:

© CopyRight 2014~2024 薄学网.