Re: [pmacct-discussion] Error inserting mysql

2014-07-02 Thread Paolo Lucente
Hi Raphael, You can set debug to true for the plugin, ie. debug[mysql]: true (suggest in this case not to log to the screen but to a logfile, ie. logfile: /path/to/file.log) and/or enable query log on the MySQL server side. IMO, pick the quicker solution of the two. Cheers, Paolo On Wed, Jul

Re: [pmacct-discussion] Error inserting mysql

2014-07-01 Thread Paolo Lucente
Hi Raphael, Can you dig what entry is precisely causing this? I've seen that happening especially when enabling IPv6, ie. when pmacct tries to insert strings like ipv6-icmp in a CHAR(4). On the other hand, pmacct is unaware of the length of the field in the schema (nor i'm aware MySQL, or any