I get this error with munin + ISPConfig for the Mysql graphs : mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' Any idea ? Thanx in advance !
SOLVED ! On an Ubuntu 7.10 system : In /etc/munin/plugin-conf.d/munin-node replace : [mysql*] user root env.mysqladmin /usr/bin/mysqladmin env.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf BY [mysql*] user root env.mysqladmin /usr/bin/mysqladmin env.mysqlopts -u debian-sys-maint -p1234567890 1234567890 is the password you'll find in /etc/mysql/debian.cnf for the user debian-sys-maint
Hi, I had the same problem, and thanks for this help it works now! But that's weird because --defaults-extra-file=/etc/mysql/debian.cnf should works... It's the same thing ! I've noticed munin worked well with the --defaults-extra-file... until I did an aptitude update on debian I think... And Mysql updated or something else...