Hi! I am using nfaccd with ndsad. I wanna collect all data from ndsad in mysql database. I have such cfg of nfacctd like:
debug: true daemonize: false aggregate: src_host, dst_host plugins: mysql sql_host: localhost sql_db: nfacctd sql_table: acct sql_user: nfacctd sql_passwd: nfacctd sql_recovery_logfile: /var/log/recovery_log When i run nfacctd -f ~/cfg/nfacctd.cfg i've got this output: INFO ( default/mysql ): 107520 bytes are available to address shared memory segment; buffer size is 64 bytes. INFO ( default/mysql ): Trying to allocate a shared memory segment of 1720320 bytes. INFO ( default/core ): waiting for data on UDP port '2100' ALERT ( default/mysql ): primary MySQL server failed. ( default/mysql ) *** Purging cache - START *** ( default/mysql ) *** Purging cache - END (QN: 41, ET: 0) *** ( default/mysql ) *** Purging MySQL queries queue *** ALERT ( default/mysql ): primary MySQL server failed. ( default/mysql ) *** Purging cache - START *** ( default/mysql ) *** Purging cache - END (QN: 8, ET: 0) *** But, when i connect to the mysql-server like this: $mysql -h 127.0.0.1 -u nfacctd -p (and enter passwd from my conf) - i can easily connect. So, what i did wrong?
