# # #控制节点
CREATE DATABASE Keystone;
GRANT all privileges the keystone.* to ' keystone ' @ ' localhost ' identified by ' hao29505 ';
GRANT all privileges the keystone.* to ' Keystone ' @ '% ' identified by ' hao29505 ';
GRANT all privileges the keystone.* to ' Keystone ' @ ' controller ' identified by ' hao29505 ';
Flush privileges;
CREATE DATABASE Glance;
GRANT all privileges The glance.* to ' glance ' @ ' localhost ' identified by ' hao29505 ';
GRANT all privileges The glance.* to ' glance ' @ '% ' identified by ' hao29505 ';
GRANT all privileges The glance.* to ' glance ' @ ' controller ' identified by ' hao29505 ';
Flush privileges;
CREATE DATABASE Nova_api;
CREATE DATABASE Nova;
GRANT all privileges on nova_api.* to ' nova ' @ ' localhost ' identified by ' hao29505 ';
GRANT all privileges the nova_api.* to ' Nova ' @ ' percent ' identified by ' hao29505 ';
GRANT all privileges on nova_api.* to ' Nova ' @ ' controllers ' identified by ' hao29505 ';
GRANT all privileges on nova.* to ' nova ' @ ' localhost ' identified by ' hao29505 ';
GRANT all privileges the nova.* to ' Nova ' @ ' percent ' identified by ' hao29505 ';
GRANT all privileges on nova.* to ' Nova ' @ ' controllers ' identified by ' hao29505 ';
Flush privileges;
CREATE DATABASE Neutron;
GRANT all privileges the neutron.* to ' neutron ' @ ' localhost ' identified by ' hao29505 ';
GRANT all privileges the neutron.* to ' neutron ' @ '% ' identified by ' hao29505 ';
GRANT all privileges the neutron.* to ' neutron ' @ ' controller ' identified by hao29505 ';
Flush privileges;
CREATE DATABASE Cinder;
GRANT all privileges the cinder.* to ' cinder ' @ ' localhost ' identified by ' hao29505 ';
GRANT all privileges the cinder.* to ' cinder ' @ '% ' identified by ' hao29505 ';
GRANT all privileges the cinder.* to ' cinder ' @ ' controller ' identified by ' hao29505 ';
Flush privileges;
Openstack m version quick configuration (ii)--Brush database