Learning OpenStack Networking
上QQ阅读APP看书,第一时间看更新

Configuring the database

Using the mysql client, create the Glance database and associated user:

    # mysql

Enter the following SQL statements at the MariaDB [(none)] > prompt:

CREATE DATABASE glance;
GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' IDENTIFIED BY 'glance';
GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' IDENTIFIED BY 'glance';
quit;