ERROR 1406 : Data too long for column 解决办法_MySQL
程序员文章站
2022-06-17 22:17:28
...
bitsCN.com
解决办法:
在my.ini里找到
sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_Create_USER,NO_ENGINE_SUBSTITUTION”
把其中的STRICT_TRANS_TABLES,去掉,
或者把sql-mode=STRICT_TRANS_TABLES,NO_AUTO_Create_USER,NO_ENGINE_SUBSTITUTION
注释掉,然后重启mysql就ok了bitsCN.com
在my.ini里找到
sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_Create_USER,NO_ENGINE_SUBSTITUTION”
把其中的STRICT_TRANS_TABLES,去掉,
或者把sql-mode=STRICT_TRANS_TABLES,NO_AUTO_Create_USER,NO_ENGINE_SUBSTITUTION
注释掉,然后重启mysql就ok了bitsCN.com
推荐阅读
-
报错pymysql.err.DataError: (1406, "Data too long for column 'gender'
-
ERROR 1406 : Data too long for column 解决办法_MySQL
-
mysql: Packet for query is too large 和Data too long for column
-
mysql: Packet for query is too large 和Data too long for column
-
mysql: Packet for query is too large 和Data too long for column
-
mysql: Packet for query is too large 和Data too long for column
-
ERROR 1406 : Data too long for column 解决办法
-
pymysql.err.DataError: (1406, "Data too long for column 'XXX' at row 1) uubuntu
-
报错pymysql.err.DataError: (1406, "Data too long for column 'gender'