mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Small fixes in doc
Add mysql flush privileges, -p option for import to db and enable system service at boot
This commit is contained in:
parent
cf35a5431e
commit
33223885dc
1 changed files with 4 additions and 2 deletions
|
|
@ -169,6 +169,7 @@ Set up a MySQL database for Icinga DB:
|
|||
|
||||
CREATE DATABASE icingadb;
|
||||
GRANT ALL ON icingadb.* TO 'icingadb'@'127.0.0.1' IDENTIFIED BY 'icingadb';
|
||||
FLUSH PRIVILEGES;
|
||||
|
||||
quit
|
||||
```
|
||||
|
|
@ -177,7 +178,7 @@ After creating the database you can import the Icinga DB schema using the
|
|||
following command. Enter the root password into the prompt when asked.
|
||||
|
||||
```
|
||||
cat /usr/share/icingadb/schema/mysql/mysql.schema.sql | mysql -uroot icingadb
|
||||
cat /usr/share/icingadb/schema/mysql/mysql.schema.sql | mysql -uroot icingadb -p
|
||||
```
|
||||
|
||||
### Running Icinga DB <a id="running-icingadb"></a>
|
||||
|
|
@ -191,6 +192,7 @@ icingadb -config /etc/icingadb/icingadb.ini
|
|||
Systemd service:
|
||||
|
||||
```
|
||||
systemctl enable icingadb
|
||||
systemctl start icingadb
|
||||
```
|
||||
|
||||
|
|
@ -202,4 +204,4 @@ By default `icingadb-redis` listens only on `127.0.0.1`. If you want to change t
|
|||
|
||||
### Icinga DB Web
|
||||
|
||||
Consult the [Icinga DB Web documentation](https://icinga.com/docs/icingadb/latest/icingadb-web/doc/02-Installation/) on how to connect Icinga Web 2 with Icinga DB.
|
||||
Consult the [Icinga DB Web documentation](https://icinga.com/docs/icingadb/latest/icingadb-web/doc/02-Installation/) on how to connect Icinga Web 2 with Icinga DB.
|
||||
|
|
|
|||
Loading…
Reference in a new issue