Este conteúdo não está disponível no idioma selecionado.
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 -pCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Create the
aodhdatabase:mysql> CREATE DATABASE aodh;
mysql> CREATE DATABASE aodh;Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Create an
aodhdatabase user and grant the user access to theaodhdatabase: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
mysqlclient:mysql> quit
mysql> quitCopy to Clipboard Copied! Toggle word wrap Toggle overflow