<? // ( -*- php -*- this makes emacs users happy ) /* Network Interface Statistics Collection Agent by Brett Baugh This is the database configuration file for NISCA. Change these variables to match your MySQL server's hostname:port, username, and password. "$database" is the name of the database itself (which is "stats" by default) but if you want/need to change it, this is the ONLY place in NISCA you'll have to do it... pretty graphs AND convenience!!! Who could ask for anything more? */ // Name of the database to use (default: "stats"): $database="stats"; // This is how you'll connect to your MySQL server; either // "hostname:port" or "localhost:socket_filename" // (socket_filename is usually "/tmp/mysql.sock"): $db_host="localhost:/var/lib/mysql/mysql.sock"; // Username to connect as. // You need to give this user these MySQL permissions // for the above-named database: // Select, Insert, Update, Delete, Create, // Drop, References, Index, and Alter. $db_user="nobody"; // Password to use with $db_user: $db_pass=""; // If this isn't blank, helpful database stats will be shown on the admin index page. // Space used/free, etc. Especially useful for InnoDB databases. I see no reason to // turn it off; it takes almost no time at all to run... but in case you want to... $db_stats="y"; ?>