[Misc] Update for MySQL 5.5

This commit is contained in:
Vincent Massol 2019-01-14 13:28:33 +01:00 committed by GitHub
parent 52de848bcc
commit 0c408107ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,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. 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 #### Starting PostgreSQL
The command below will also configure the PostgreSQL container to save its data on your localhost in a `/my/own/postgres` directory: The command below will also configure the PostgreSQL container to save its data on your localhost in a `/my/own/postgres` directory: