此内容没有您所选择的语言版本。
13.2. Create the Telemetry Alarming Service Database
Create the database and database user used by the Telemetry Alarming service. All steps in this procedure must be performed on the database server, while logged in as the
root
user.
Procedure 13.1. Creating the Telemetry Alarming Service Database
- Connect to the database service:
mysql -u root -p
# mysql -u root -p
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
aodh
database:mysql> CREATE DATABASE aodh;
mysql> CREATE DATABASE aodh;
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create an
aodh
database user and grant the user access to theaodh
database:mysql> GRANT ALL ON aodh.* TO 'aodh'@'%' IDENTIFIED BY 'AODH_PASSWORD'; mysql> GRANT ALL ON aodh.* TO 'aodh'@'localhost' IDENTIFIED BY 'AODH_PASSWORD';
mysql> GRANT ALL ON aodh.* TO 'aodh'@'%' IDENTIFIED BY 'AODH_PASSWORD'; mysql> GRANT ALL ON aodh.* TO 'aodh'@'localhost' IDENTIFIED BY 'AODH_PASSWORD';
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace AODH_PASSWORD with a secure password that will be used to authenticate with the database server as this user. - Exit the
mysql
client:mysql> quit
mysql> quit
Copy to Clipboard Copied! Toggle word wrap Toggle overflow