diff --git a/plugins/node.d/mysql_ b/plugins/node.d/mysql_ index f6db13607a..80c561e2e5 100755 --- a/plugins/node.d/mysql_ +++ b/plugins/node.d/mysql_ @@ -57,6 +57,7 @@ Non-default example: env.mysqlpassword ryuWyawEv env.cachenamespace munin_mysql_alt [mysql10_*] + user munin env.mysqluser munin env.mysqlconnection DBI:mysql:information_schema;mysql_read_default_file=/etc/munin/.my-10.cnf env.cachenamespace munin_mysql_10 @@ -67,10 +68,12 @@ Creating a munin user: CREATE USER 'munin'@'localhost' IDENTIFIED BY 'ryuWyawEv'; - or with a unix_socket plugin (INSTALL PLUGIN unix_socket SONAME 'auth_socket') +or with a unix_socket plugin (INSTALL PLUGIN unix_socket SONAME 'auth_socket') CREATE USER 'munin'@'localhost' IDENTIFIED WITH unix_socket; +Note: requires 'user munin' in the configuration. + The minimum required priviledges of the munin database user is: GRANT PROCESS, REPLICATION CLIENT ON *.* TO 'munin'@'localhost';