Re: [pmacct-discussion] mysql error

2005-12-04 Thread Molokanov Ilya
Ok, thenx a lot. I have such trouble as: [EMAIL PROTECTED] -u root -p -h 127.0.0.1 Enter password: ERROR 2003: Can't connect to MySQL server on '127.0.0.1' (111) And i will fix it myself. If i'l have troubles with nfacctd, i will post a message. thenx! On 12/4/05, Paolo Lucente <[EMAIL PROTECTED]

Re: [pmacct-discussion] mysql error

2005-12-04 Thread Paolo Lucente
Hello Ilya, my first hint is to remove the 'sql_host: localhost' line; it avoids the connection through the usual '/tmp/mysql.sock' pipe file and makes pmacct to establish the TCP connection to 'localhost:3306'. If you really need this, try rewriting it as 'sql_host: 127.0.0.1'. Next, check that

[pmacct-discussion] mysql error

2005-12-04 Thread Molokanov Ilya
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