TIMESTAMP with implicit DEFAULT value is deprecated

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

 

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

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

xplicit_defaults_for_timestamp=true

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

—— 完 ——
  • Redisv6.0为何引入多线程?
  • In china,the security protection level of information system is divided into _levels
  • 【201305-操作57】在 MapGIS 6.7 输入编辑中进行矢量化输入线操作时,快捷键 F5、F6、F7、F8、F9、F11、 F12 分别实现的功能是:
  • Vue.js Vue 3 中与 this.$forceUpdate 等价的方法
  • 【201305-多选54】下面关于 GIS 在交通管理中的应用,描述正确的是:
  • 信息安全工程师综合知识真题考点:IIS访问控制
  • Redis的常用场景有哪些?
  • 英语范文:My English Study
  • 解决设备ROOT\DISPLAY\0000加载驱动程序\Driver\WUDFRd失败的方法
  • 关于VC中 error C2871: 'std' : does not exist or is not a namespace问题

© CopyRight 2014~2024 薄学网.