Zabbix: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Chris (Diskussion | Beiträge) Die Seite wurde neu angelegt: „=== Zabbix Datenbank erstellen === <pre> shell> mysql -uroot -p<password> mysql> create database zabbix character set utf8 collate utf8_bin; mysql> create use…“ |
Chris (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 15: | Zeile 15: | ||
shell> mysql -uzabbix -p<password> zabbix < images.sql | shell> mysql -uzabbix -p<password> zabbix < images.sql | ||
shell> mysql -uzabbix -p<password> zabbix < data.sql | shell> mysql -uzabbix -p<password> zabbix < data.sql | ||
</pre> | |||
<pre> | |||
DBPassword=<password> | |||
</pre> | </pre> | ||
Version vom 3. Mai 2020, 21:25 Uhr
Zabbix Datenbank erstellen
shell> mysql -uroot -p<password> mysql> create database zabbix character set utf8 collate utf8_bin; mysql> create user 'zabbix'@'localhost' identified by '<password>'; mysql> grant all privileges on zabbix.* to 'zabbix'@'localhost'; mysql> quit;
shell> cd database/mysql shell> mysql -uzabbix -p<password> zabbix < schema.sql # stop here if you are creating database for Zabbix proxy shell> mysql -uzabbix -p<password> zabbix < images.sql shell> mysql -uzabbix -p<password> zabbix < data.sql
DBPassword=<password>