Creating a BMS Database
The BMS stores the information in a database. This document uses the MySQL database used by other OpenStack services as the BMS database.
Create an Ironic database on the controller node.
- Access the database as the user root.
1mysql -u root -p
- Create an Ironic database and grant proper access to the database.
1 2 3 4
CREATE DATABASE ironic CHARACTER SET utf8; GRANT ALL PRIVILEGES ON ironic.* TO 'ironic'@'localhost' IDENTIFIED BY PASSWORD; GRANT ALL PRIVILEGES ON ironic.* TO 'ironic'@'%' IDENTIFIED BY PASSWORD; exit
In this document, all passwords are represented as PASSWORD. Use the actual password during the operation. Replace the PASSWORD with the password of the Ironic database.

Parent topic: Installing and deploying the BMS.