Merge pull request #417 from Icinga/bugfix/docs-mysql-user-create-commands

Docs: Replace GRANT + IDENTIFIED BY command incompatible with newer MySQL versions
This commit is contained in:
Eric Lippmann 2021-12-09 16:09:43 +01:00 committed by GitHub
commit 1bc7f137cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,8 @@ Set up a MySQL database for Icinga DB:
# mysql -u root -p
CREATE DATABASE icingadb;
GRANT ALL ON icingadb.* TO 'icingadb'@'127.0.0.1' IDENTIFIED BY 'icingadb';
CREATE USER 'icingadb'@'127.0.0.1' IDENTIFIED BY 'icingadb';
GRANT ALL ON icingadb.* TO 'icingadb'@'127.0.0.1';
```
After creating the database, you can import the Icinga DB schema using the following command: