Openstack m version quick configuration (ii)--Brush database

Source: Internet
Author: User

# # #控制节点


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.