Ask Your Question

sita's profile - activity

2014-11-05 05:31:40 -0500 received badge  Nice Question (source)
2014-10-13 06:14:41 -0500 received badge  Student (source)
2014-10-06 01:53:49 -0500 received badge  Famous Question (source)
2014-10-05 18:49:38 -0500 received badge  Notable Question (source)
2014-10-05 18:49:38 -0500 received badge  Popular Question (source)
2014-10-05 02:25:07 -0500 asked a question keystone-manage db_sync throws CRITICAL OperationalError: Cant connect to MySQL server on 10.10.10.51 None None

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?