Ask Your Question
2

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

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

anonymous user

Anonymous

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

SamYaple gravatar image

Following the open stack manual http://docs.openstack.org/training-gu... ... .. 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@10.10.10.51/keystone

# 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 '10.10.10.51' (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
4

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

SamYaple gravatar image

10.10.10.51 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

Stats

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

Seen: 1,393 times

Last updated: Oct 05 '14