From 874c71b7aa83dc1f41fc64867b10613e2d833595 Mon Sep 17 00:00:00 2001 From: meeb Date: Mon, 17 May 2021 15:28:43 +1000 Subject: [PATCH] add mysql utf8mb4 encoding note to docs, resolves #117 --- docs/other-database-backends.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/other-database-backends.md b/docs/other-database-backends.md index d598dcc..2b339b9 100644 --- a/docs/other-database-backends.md +++ b/docs/other-database-backends.md @@ -61,6 +61,14 @@ and `mysql://tubesync:password@localhost:3306/tubesync` +*Important note:* For MySQL databases make SURE you create the tubesync database with +`utf8mb4` encoding, like: + +`CREATE DATABASE tubesync CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;` + +Without `utf8mb4` encoding things like emojis in video titles (or any extended UTF8 +characters) can cause issues. + ### 3. Start TubeSync and check the logs Once you start TubeSync with the new database connection you should see the folling log