TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • Redis高效率是如何实现的?
  • Redis相比Memcached有哪些优势?
  • Visual Studio 2019 winfrom生成安装包时提示缺少vs_shell.msi,Visual Studio 2008 shell(Integrated)-CHN这样解决
  • C# LoadXml 时发生 hexadecimal value 0x08, is an invalid character 错误
  • PHP中bindParam()和bindValue()的区别
  • Unity报错:error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
  • Visual C++ Redistributable for Visual Studio各版本的官方链接
  • 面试题:从多层嵌套的list中取出单个元素
  • ISO制定的安全体系结构描述了5种安全服务,以下不属于这5种安全服务的是()
  • Unity中启动VS时出现"Visual Studio 2010 Shell 无效的许可证数据"的解决办法

© CopyRight 2014~2024 薄学网.