I am trying to install openstack on my local machine. I am following the documentation from devstack. The installation process breaks due to the following error:-
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
I also tried by changing
bind-address = 127.0.0.1
bind-address = localhost
I also tried restarting the mysql server, but still getting the same error.
+ sudo mysql -uroot -pstackdb -h127.0.0.1 -e 'GRANT ALL PRIVILEGES ON *.* TO '\''root'\''@'\''%'\'' identified by '\''stackdb'\'';' Configuring and starting MySQL ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) ++ failed ++ local r=1 +++ jobs -p ++ kill ++ set +o xtrace stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2013-04-01-164236