首页 > 代码库 > ubuntu14.10安装keystone过程中的问题(juno)

ubuntu14.10安装keystone过程中的问题(juno)

1.

2014-11-14 19:40:20.463 7740 TRACE keystone   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__
2014-11-14 19:40:20.463 7740 TRACE keystone     super(Connection, self).__init__(*args, **kwargs2)
2014-11-14 19:40:20.463 7740 TRACE keystone OperationalError: (OperationalError) (2003, "Can‘t connect to MySQL server on ‘127.0.0.1‘ (111)") None None


解决方法:

root@controller2:~# vim /etc/keystone/keystone.conf


# Deprecated group/name - [sql]/connection
#connection=sqlite:////var/lib/keystone/keystone.db
connection = mysql://keystone:keystone@localhost/keystone

ubuntu14.10安装keystone过程中的问题(juno)