Created
March 29, 2012 00:50
-
-
Save daveray/2231956 to your computer and use it in GitHub Desktop.
chef mysql issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Wed, 28 Mar 2012 10:52:02 -0700] FATAL: Chef::Exceptions::ShellCommandFailed: execute[mysql-install-privileges] (mysql::server line 136) had an error: Expected process to exit 0, but it exited with 1 | |
---- Begin output of /usr/bin/mysql -u root -p"B0MAn1h8e3LFoV_4iDzA" < /etc/mysql/grants.sql ---- | |
STDOUT: | |
STDERR: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) | |
---- End output of /usr/bin/mysql -u root -p"B0MAn1h8e3LFoV_4iDzA" < /etc/mysql/grants.sql ---- | |
Ran /usr/bin/mysql -u root -p"B0MAn1h8e3LFoV_4iDzA" < /etc/mysql/grants.sql returned 1 | |
that is, maybe mysql isn't up yet when it tries to set the root password. | |
there's a note about it here: | |
https://github.com/xforty/vagrant-drupal/issues/11 | |
there's a horrible fix here: | |
https://github.com/everm1nd/mysql/commit/ac54f071eddd5b73f651413b5f001444a374210d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment