From 936a0b865eb1bcaf0be1d62e8f6924a9b8d1ebe7 Mon Sep 17 00:00:00 2001
From: Vincent Massol <vincent@massol.net>
Date: Mon, 14 Jan 2019 13:27:08 +0100
Subject: [PATCH] [Misc] Update doc for MySQL 5.5

---
 README.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README.md b/README.md
index e31fc42..791820d 100644
--- a/README.md
+++ b/README.md
@@ -78,6 +78,12 @@ docker run --net=xwiki-nw --name mysql-xwiki -v /my/own/mysql:/var/lib/mysql -e
 
 You should adapt the command line to use the passwords that you wish for the MySQL root password and for the xwiki user password.
 
+Note: If you're using MySQL < 5.6.6, you'll need to start MySQL with:
+
+```console
+docker run --net=xwiki-nw --name mysql-xwiki -v /my/own/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
+```
+
 #### Starting PostgreSQL
 
 The command below will also configure the PostgreSQL container to save its data on your localhost in a `/my/own/postgres` directory:
-- 
GitLab