Last active
November 19, 2016 00:14
-
-
Save stajkowski/6407228d0478b0519a63a771e97fa601 to your computer and use it in GitHub Desktop.
openstack db
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE keystone; | |
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \ | |
IDENTIFIED BY 'password'; | |
CREATE DATABASE glance; | |
GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \ | |
IDENTIFIED BY 'password'; | |
ALTER DATABASE glance CHARACTER SET utf8 COLLATE utf8_general_ci; | |
CREATE DATABASE nova; | |
GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'%' \ | |
IDENTIFIED BY 'password'; | |
CREATE DATABASE nova_api; | |
GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON nova_api.* TO 'nova'@'%' \ | |
IDENTIFIED BY 'password'; | |
CREATE DATABASE neutron; | |
GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' \ | |
IDENTIFIED BY 'password'; | |
CREATE DATABASE cinder; | |
GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'%' \ | |
IDENTIFIED BY 'password'; | |
CREATE DATABASE heat; | |
GRANT ALL PRIVILEGES ON heat.* TO 'heat'@'localhost' \ | |
IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON heat.* TO 'heat'@'%' \ | |
IDENTIFIED BY 'password'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment