TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • The organization shall undertake root cause analysis and determine potential actions to prevent the occurrence or recurrence of()
  • C# List合并、去重、查找
  • svn在commit后报错:is scheduled for addition, but is missing
  • 解决设备ROOT\DISPLAY\0000加载驱动程序\Driver\WUDFRd失败的方法
  • C#中SortedList和SortedDictionary
  • 关于pom.xml的Missing artifact net.sf.json-lib:json-lib:jar:2.4报错问题
  • Docker启动报错:Docker Desktop - WSL distro terminated abruptly
  • In china,the security protection level of information system is divided into _levels
  • Docker 运行Redis报错: WARNING overcommit_memory is set to 0!解决方案
  • 关于VC中 error C2871: 'std' : does not exist or is not a namespace问题

© CopyRight 2014~2024 薄学网.