keystone-manage db_sync throws CRITICAL OperationalError: Cant connect to MySQL server on None None

asked 2014-10-05 00:27:15 -0600

anonymous user


updated 2014-10-05 03:10:02 -0600

SamYaple gravatar image

Following the open stack manual ... .. My SQL database is created using the

# mysql -u root -p
mysql>CREATE DATABASE keystone;
mysql>GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass';

Subsequent to this the following keystone install steps are done:

# apt-get install -y keystone

Updated the keystone config file /etc/keystone/keystone.conf with below line..

connection = mysql://keystoneUser:keystonePass@

# service keystone restart
# keystone-manage db_sync

Then the below error is displayed:

...13:55:10.059 19186 CRITICAL keystone [-] OperationalError: (OperationalError) (2003, "Can't connect to MySQL Server on '' (110)" None None

Can anybody throw some light on how to fix the above error please?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-05 03:13:57 -0600

SamYaple gravatar image is the ip address in the guide, is that the address you set your node up as? Can you connect to any other servers on that address? Can you ping that address?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-05 00:27:15 -0600

Seen: 1,740 times

Last updated: Oct 05 '14