Sir

 

I want to export netflow to mysql.

Use the command ‘flow-export -f3 -mDFLOWS,DPKTS,DOCTETS,SRCADDR,DSTADDR,SRCPORT,DSTPORT,PROT -u "root:password:localhost:3306:netflow:1234" < ft-v05.2005-11-21.224001+0800’

 

But flow-export show the messages,

flow-export: mysql_real_query(): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1234(,dpkts,doctets,srcaddr,dstaddr,srcport,dstport,prot) VALUES (1,48,"172.16.2' at line 1

 

How can I fix the problem? Thank you.

_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to