Hum find it, but I seems I found a bug :

with mysqld parameter :

sql_mode = TRADITIONAL

which enable strict mode, an insert failed immediatly if an error of size or else is detected.
This is strange beacause column ip_proto is CHAR(4), that is sufficient.

I think pmacct should handle this error earlier, or truncate the data, because when arriving in the rdbm the field is left blanked.

Regards,


Le 01/07/2014 18:20, Raphael Mazelier a écrit :
Hello Paolo,

I upgrade my system today to debian wheezy, percona-server-5.6.
Since this upgrade I have error message like :

Jul 01 18:18:01 ERROR ( out_hour/mysql ): Data too long for column
'ip_proto' at row 445

and no data are filled in the database.

How I can debug this issue ?


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to