Browse Source

[Misc] Rephrased to better explain the 5.6.6 magical version

Vincent Massol 7 years ago
parent
commit
04590de350
1 changed files with 1 additions and 1 deletions
  1. 1 1
      xwiki/content.md

+ 1 - 1
xwiki/content.md

@@ -54,7 +54,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.
 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
 ```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
 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