ERROR 1406 : Data too long for column 解决办法
程序员文章站
2023-12-18 13:37:46
解决办法: 在my.ini里找到 sql-mode=”strict_trans_tables,no_auto_create_user,no_engine_substitut...
解决办法:
在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了
在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了
推荐阅读
-
ERROR 1406 : Data too long for column 解决办法
-
ERROR 1406 : Data too long for column 解决办法
-
报错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 解决办法
-
错误记录:Data too long for column 'xxx' at row 1