Ask Your Question

Devstack install fail: Mysql cannot connect error with fresh install/running of on EC2

asked 2013-12-16 00:30:39 -0500

cephaslr gravatar image

updated 2013-12-16 11:59:37 -0500

smaffulli gravatar image

I get "OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on '' (111)") None None" with a fresh EC2 instance of ubuntu 12.4 and a fresh openstack install. Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-16 12:00:07 -0500

smaffulli gravatar image

Check that mysql is running.

edit flag offensive delete link more


I have the same problem - EC2; ubuntu 12.4; t1.micro instance - using DevStack install. Turns out that mysql is not running. The install script quits with the following: "Authorization Failed: An unexpected error prevented the server from fulfilling your request. (OperationalError) (2003, "Can't connect to MySQL server on '' (111)") None None (HTTP 500) + TOKEN= + die_if_not_set 1201 TOKEN 'Keystone fail to get token' + local exitcode=0 ++ set +o ++ grep xtrace + FXTRACE='set -o xtrace' + set +o xtrace [Call Trace] ./ /home/ubuntu/devstack/functions:119:die [ERROR] /home/ubuntu/devstack/functions:1201 Keystone fail to get token"

codegin gravatar imagecodegin ( 2013-12-16 14:25:13 -0500 )edit

Yea, I think that did it, lol. On to the next challenge! :)

cephaslr gravatar imagecephaslr ( 2013-12-16 18:01:46 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-12-16 00:30:39 -0500

Seen: 2,123 times

Last updated: Dec 16 '13