windows - 尝试运行 mysqld 时出现时间戳错误

标签 windows timestamp mysql

当我尝试通过命令提示符运行 mysqld 来输入该命令时,我收到一条错误消息:

[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. 
Please use --explicit_defaults_for_timestamp server option (see documentation for
more details).

我尝试将 explicit_defaults_for_timestamp = TRUE 粘贴到 my.ini 文件中,但这不起作用。

最佳答案

即使我也遇到了同样的问题 尝试通过

explicit_defaults_for_timestamp = 1

关于windows - 尝试运行 mysqld 时出现时间戳错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20208401/

相关文章:

c++ - boost::asio 和 send() 的使用

python - 如何将 X 分钟、Y 秒字符串转换为时间戳

php - 如何比较自定义格式的两个时间戳?

mysql - mysql 查询 : couple of conditions matching in the same column

mysql - (STOREDPROC) 生成的 SELECT 语句 : looking for the right syntax to use near NULL

linux - 如何从 Windows 服务器联系 linux ClearCase 客户端

c++ - 如何设置在 Windows 登录屏幕上打开应用程序的按钮

windows - 使用 Inno Setup 安装时应用程序不工作

mysql - 从整个数据库转储中恢复选择性表?

mysql时间戳列