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
This commit is contained in:
Michał Margula
2023-04-07 20:04:47 +02:00
committed by GitHub
parent b09f5f63e4
commit 4465de874d

View File

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