【发布时间】:2019-12-09 07:59:28
【问题描述】:
当我尝试将严格值设为 TRUE 时,它会显示错误 Error Number: 1364 Field 'modified_at' doesn't have a default value",当我尝试将其设为 FALSE 时,它会显示错误
Variable 'sql_mode' can't be set to the value of 'REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode'
SELECT GET_LOCK('ad3549572403a9c71bea1109d26f4b48', 300) AS ci_session_lock
当值为 true 时,一切正常,但我需要刷新才能出错:“错误编号:1364 字段 'modified_at' 没有默认值”消失了。 请帮助我克服这个错误。 谢谢你!
这是错误的截图:
【问题讨论】:
标签: php codeigniter-3 codeigniter-2