TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • C#中List〈string〉和string[]数组之间的相互转换
  • 在计算机“.”上没有找到WAS服务的解决方案
  • 【201305-单选40】下面关于 GIS 的分类描述正确的是:
  • SQLServer 错误: 15404,无法获取有关 Windows NT 组/用户 ‘xxx\Administrator’ 的信息,错误代码 0x534。
  • 英语范文:How to keep a good relationship with parents
  • The organization shall undertake root cause analysis and determine potential actions to prevent the occurrence or recurrence of()
  • 【201305-单选13】在GIS 的开发设计中,将逻辑模型转化为物理模型的这个阶段是:
  • Blocks are storage units one by one, and each block is linked by() in Blockchain.
  • Visual Studio 2019 winfrom生成安装包时提示缺少vs_shell.msi,Visual Studio 2008 shell(Integrated)-CHN这样解决
  • Redis持久化机制

© CopyRight 2014~2024 薄学网.