Data too long for column 'pay_channel' at row 1

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Data too long for column 'pay_channel' at row 1相关的知识,希望对你有一定的参考价值。

 

报错日志:

08:42:12|Possible DeadLoop: 502|1.3438185|b7faf7a5-a229-4230-811d-017e4d3f13d3|b7faf7a5-a229-4230-811d-017e4d3f13d3

08:53:40|ReceiveData_WebProxy exp:mysql.Data.MySqlClient.MySqlException (0x80004005): Data too long for column ‘pay_channel‘ at row 1

   在 MySql.Data.MySqlClient.MySqlStream.ReadPacket()

   在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)

   在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)

   在 MySql.Data.MySqlClient.MySqlDataReader.NextResult()

   在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)

   在 MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()



从日志里可以得知是pay_channel字段长度不够引起的

解决方法:  增加这个字段长度就可以解决


 



本文出自 “Holy” 博客,请务必保留此出处http://holy2010.blog.51cto.com/1086044/1950429

以上是关于Data too long for column 'pay_channel' at row 1的主要内容,如果未能解决你的问题,请参考以下文章

Data truncation: Data too long for column ‘context‘ at row 1

Data truncation: Data too long for column ‘context‘ at row 1

Data truncation: Data too long for column ‘context‘ at row 1

ERROR 1406 : Data too long for column 解决办法

javaweb报错:Data truncation: Data too long for column ‘xxx‘ at row 1

javaweb报错:Data truncation: Data too long for column ‘xxx‘ at row 1