MySql Error: 1364 Field 'display_name' doesn't have default value

后端 未结 7 1767
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 21:37

I have just switched from a MAMP installation to a native Apache, MySql and PHP installation. I have got everything working, but I have started using my web app in the new e

相关标签:
7条回答
  • 2020-11-28 22:05

    MySQL is most likely in STRICT mode.

    Try running SET GLOBAL sql_mode='' or edit your my.cnf to make sure you aren't setting STRICT_ALL_TABLES or the like.

    0 讨论(0)
提交回复
热议问题