安装最新版本的MySQL之后,我收到错误消息:#1366-第1行的'group_id'列的整数值不正确 [英] After installing latest version of MySQL then I get error : #1366 - Incorrect integer value: '' for column 'group_id' at row 1
本文介绍了安装最新版本的MySQL之后,我收到错误消息:#1366-第1行的'group_id'列的整数值不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在安装最新版本的MySQL之后,将数据插入数据库时出现以下错误.我的应用程序正在运行旧版本的mysql,但在更新新版本后,所有应用程序都崩溃了.
After installing the latest version of MySQL I get the following error when inserting data into the database. My application was running old version of mysql but after update new version all application was breakdown.
这样的mysql查询:
mysql query like this :
INSERT INTO表名SET group_id =''等...........
INSERT INTO tablename SET group_id='' etc..............
错误:
我也尝试设置-
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
但未解决问题 所以请帮忙!
but not resolved problems So Please help!
推荐答案
Find STRICT_ALL_TABLES in sql mode and try removing it in my.ini configuration file.
这篇关于安装最新版本的MySQL之后,我收到错误消息:#1366-第1行的'group_id'列的整数值不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文