README.md: modify db creation instructions
This commit is contained in:
parent
1f983ae6f4
commit
c8842f368e
|
@ -9,9 +9,9 @@ Installation
|
|||
Create Icinga Director database
|
||||
-------------------------------
|
||||
|
||||
mysql < "CREATE DATABASE director;" \
|
||||
" GRANT SELECT, INSERT, UPDATE, DELETE ON director.*" \
|
||||
" TO director@localhost IDENTIFIED BY 'some-password';"
|
||||
mysql -e "CREATE DATABASE director2;
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE ON director.* TO director@localhost
|
||||
IDENTIFIED BY 'some-password';"
|
||||
|
||||
mysql director < schema/mysql.sql
|
||||
|
||||
|
|
Loading…
Reference in New Issue