Skip to content

Instantly share code, notes, and snippets.

@hogepodge
Created January 30, 2015 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hogepodge/2c2ad3fe51838cd4f2c4 to your computer and use it in GitHub Desktop.
Save hogepodge/2c2ad3fe51838cd4f2c4 to your computer and use it in GitHub Desktop.
Notice: /Stage[main]/Mysql::Server::Root_password/File[/root/.my.cnf]/ensure: defined content as '{md5}5c616f1c16053c50c2c91f04178cbcb0'
Error: 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 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Error: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e GRANT USAGE ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*FD2B582E6C6CD463218A2F79EA8487925804C5A6' WITH MAX_USER_CONNECTIONS 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_QUERIES_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Error: /Stage[main]/Mysql::Server::Root_password/Mysql_user[root@localhost]/ensure: change from absent to present failed: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -e GRANT USAGE ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*FD2B582E6C6CD463218A2F79EA8487925804C5A6' WITH MAX_USER_CONNECTIONS 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_QUERIES_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment