[root@openstack-h1 ~]# openstack-db --init --service glance --password 123456
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'glance' database.
Updating 'glance' database password in /etc/glance/glance-registry.conf /etc/glance/glance-api.conf
Initializing the glance database, please wait...
2013-11-19 19:35:26.538 3148 CRITICAL glance [-] (OperationalError) (1045, "Access denied for user 'glance'@'openstack-h1' (using password: YES)") None None
2013-11-19 19:35:26.538 3148 TRACE glance Traceback (most recent call last):
2013-11-19 19:35:26.538 3148 TRACE glance File "/usr/bin/glance-manage", line 10, in <module>
2013-11-19 19:35:26.538 3148 TRACE glance sys.exit(main())
2013-11-19 19:35:26.538 3148 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/manage.py", li
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'glance' database.
Updating 'glance' database password in /etc/glance/glance-registry.conf /etc/glance/glance-api.conf
Initializing the glance database, please wait...
2013-11-19 19:35:26.538 3148 CRITICAL glance [-] (OperationalError) (1045, "Access denied for user 'glance'@'openstack-h1' (using password: YES)") None None
2013-11-19 19:35:26.538 3148 TRACE glance Traceback (most recent call last):
2013-11-19 19:35:26.538 3148 TRACE glance File "/usr/bin/glance-manage", line 10, in <module>
2013-11-19 19:35:26.538 3148 TRACE glance sys.exit(main())
2013-11-19 19:35:26.538 3148 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/manage.py", li