When running:
$ sudo puppetd --verbose --no-daemonize -o
I get errors such as:
err: //webserver/Mysql::Rights[Setup SW Database]/Mysql_user[scraperwiki@localhost]: Failed to retrieve current state of resource: Execution of '/usr/bin/mysql mysql -NBe select '1' from user where CONCAT(user, '@', host) = 'scraperwiki@localhost'' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
notice: //webserver/Mysql::Rights[Setup SW Database]/Mysql_grant[scraperwiki@localhost/scraperwiki_live]: Dependency mysql_user[scraperwiki@localhost] has 1 failures
And:
err: //webserver/Mysql::Database[SW DB]/Mysql_database[scraperwiki_live]: Failed to retrieve current state of resource: Execution of '/usr/bin/mysql mysql -NBe show databases' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Why is it failing to connect to MySQL to even list the databases, when I'm root?