且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MYSQL 不正确的 DATETIME 格式

更新时间:2021-07-10 05:32:17

如果存在,您可以尝试从 my.ini 中的 sql-mode 中删除 STRICT_TRANS_TABLES.

If it exists, you can try removing STRICT_TRANS_TABLES from sql-mode in your my.ini.

这可能会导致此错误,日期时间字符串值包含您尚未转换为 mysql 日期时间的格式.将此 my.ini 更改报告为以下位置的修复:

This can cause this error with a datetime string value containing the format you have not being converted to mysql datetime. This my.ini change was reported as a fix in: