Ask Your Question

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

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

anonymous user


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

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 -0500

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 1,588 times

Last updated: Oct 05 '14