[Openstack] Keystone dB connectivity error
Erdősi Péter
fazy at niif.hu
Tue Mar 22 15:52:16 UTC 2016
2016. 03. 22. 15:58 keltezéssel, Remo Mattei írta:
> iptables allowing port 3306 for mysql
And also:
- mysql should listen on public IP (check netstat output, you need to
find something like that, we listen on every address, thats why you see
0.0.0.0)
root at db1:~# netstat -alnp |grep 3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
7650/mysqld
- need to add permission in mysql (with a proper grant)
If possible, you should check mysql connection manually (you need to
write password without space after -p, or do not write anything, you
will be asked):
$ mysql -h controller -u keystone -pKEYSTONE_DBPASS keystone
Regards,
Peter
More information about the Openstack
mailing list