From 0630de150a5c50933afd8c67cbccd18d590329e3 Mon Sep 17 00:00:00 2001 From: ippocratis <52239579+ippocratis@users.noreply.github.com> Date: Tue, 17 Jan 2023 22:28:05 +0200 Subject: [PATCH] fixing format errors root mysql shell --- apps/other/traccar.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/other/traccar.md b/apps/other/traccar.md index 41d2f5d..58f8dd4 100644 --- a/apps/other/traccar.md +++ b/apps/other/traccar.md @@ -91,10 +91,15 @@ networks: ## open root mysql shell create database, charset and priviledget user `docker exec -it traccar-db mysql -u root -p` + `CREATE DATABASE IF NOT EXISTS traccar-db` + `grant all privileges on traccar-db.* TO user'@'% identified by pass` + `flush privileges` + `ALTER DATABASE traccar CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ciALTER DATABASE traccar CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci` + `\q` ## reverse proxy