From eabd19dc3a583e79674b6af9e6ec9f7a47fd614a Mon Sep 17 00:00:00 2001 From: Vincent Massol <vincent@massol.net> Date: Tue, 15 Jan 2019 07:27:25 +0100 Subject: [PATCH] [Misc] Rephrased to explain better the magical 5.6.6 version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 791820d..65bde1c 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ 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: +Note: The `explicit-defaults-for-timestamp` parameter was introduced in MySQL 5.6.6 and will thus work only for that version and beyond. If you are using an older MySQL version, please use the following instead: ```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 -- GitLab