I'm seeing similar problem, but with a bit other error from MySQL (nothing on access denied, just could not connect to socket)
database with status failed on node 2
node-2/var/log/puppet.log:
2016-03-19 09:09:28 +0000 Puppet (err): Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I'm seeing similar problem, but with a bit other error from MySQL (nothing on access denied, just could not connect to socket)
database with status failed on node 2
node-2/ var/log/ puppet. log:
2016-03-19 09:09:28 +0000 Puppet (err): Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql --defaults- extra-file= /root/. my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/ mysqld/ mysqld. sock' (2)
logs snapshot is attached