Switch to utf8mb4 (#12501)

* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
This commit is contained in:
Jellyfrog
2021-03-01 15:02:26 +01:00
committed by GitHub
parent c612d2d35f
commit 8e2e67d0ee
21 changed files with 2152 additions and 1653 deletions

View File

@@ -60,7 +60,7 @@ mysql -uroot -p
> NOTE: Please change the 'password' below to something secure.
```sql
CREATE DATABASE librenms CHARACTER SET utf8 COLLATE utf8_unicode_ci;
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;