README.md: modify db creation instructions

This commit is contained in:
Thomas Gelf 2015-06-01 15:27:15 +02:00
parent 1f983ae6f4
commit c8842f368e
1 changed files with 3 additions and 3 deletions

View File

@ -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