|
From: Søren I. <si...@un...> - 2014-03-26 13:49:50
|
User "xxxx" are created in db And In munin-node.conf [mysql*] env.mysqladmin /usr/bin/mysqladmin env.mysqluser xxxx env.mysqlpassword xxxx still munin connect with root -----Oprindelig meddelelse----- Fra: Nicolai Langfeldt [mailto:ja...@la...] Sendt: 26. marts 2014 14:24 Til: mun...@li... Emne: Re: [munin-users] Mysql problem mysql problem. http://dev.mysql.com/doc/refman/5.1/en/create-user.html Den 26. mars 2014 13:21, skrev Søren Irbo: > Using other user to query mysql > > Command: > > munin-run mysql_queries debug > > # Processing plugin configuration from /etc/munin/plugin-conf.d/df > > # Processing plugin configuration from /etc/munin/plugin-conf.d/fw_ > > # Processing plugin configuration from > /etc/munin/plugin-conf.d/hddtemp_smartctl > > # Processing plugin configuration from > /etc/munin/plugin-conf.d/munin-node > > # Processing plugin configuration from > /etc/munin/plugin-conf.d/mysql_queries > > # Processing plugin configuration from > /etc/munin/plugin-conf.d/postfix > > # Processing plugin configuration from > /etc/munin/plugin-conf.d/sendmail > > # Setting /rgid/ruid/ to /99/496/ > > # Setting /egid/euid/ to /99 99/496/ > > # Setting up environment > > # Environment mysqlpassword = "xxxx" > > # Environment mysqluser = "xxxx" > > # Environment mysqladmin = /usr/bin/mysqladmin > > # About to run '/etc/munin/plugins/mysql_queries' > > /usr/bin/mysqladmin: connect to server at 'localhost' failed > > error: 'Access denied for user 'root'@'localhost' (using password: NO)' > > Any help appreciated > > Best regards > > *Søren* > > ** > > > > ---------------------------------------------------------------------- > -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph > Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, this > first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > > > > _______________________________________________ > munin-users mailing list > mun...@li... > https://lists.sourceforge.net/lists/listinfo/munin-users > ---------------------------------------------------------------------------- -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ munin-users mailing list mun...@li... https://lists.sourceforge.net/lists/listinfo/munin-users |