From 4465de874d25f6731c8434e6d3f2bd56b6ff7959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Margula?= Date: Fri, 7 Apr 2023 20:04:47 +0200 Subject: [PATCH] Update Install-LibreNMS.md (#14949) Added two lines clarifying what needs to be run and what needs to be added to config file as it might confuses people. Removed FLUSH PRIVILEGES which is unnecessary when using GRANT. It would be required when updating privileges directly -- https://dev.mysql.com/doc/refman/8.0/en/privilege-changes.html --- doc/Installation/Install-LibreNMS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Installation/Install-LibreNMS.md b/doc/Installation/Install-LibreNMS.md index 8f415f51b7..2307d44b19 100644 --- a/doc/Installation/Install-LibreNMS.md +++ b/doc/Installation/Install-LibreNMS.md @@ -173,10 +173,13 @@ innodb_file_per_table=1 lower_case_table_names=0 ``` +Then restart MariaDB + ``` systemctl enable mariadb systemctl restart mariadb ``` +Start MariaDB client ``` mysql -u root @@ -188,7 +191,6 @@ mysql -u root CREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost'; -FLUSH PRIVILEGES; exit ```