mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
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:
commit
1bc7f137cd
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue