From f56f450873bd4a2e61612b79ad191a4eaabe256b Mon Sep 17 00:00:00 2001 From: evgeniy-antonyuk Date: Mon, 29 Aug 2022 11:03:05 +0300 Subject: [PATCH] Correct the MySQL installation instructions --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d79beb..643fba3 100644 --- a/README.md +++ b/README.md @@ -147,15 +147,16 @@ FLUSH PRIVILEGES;" > /app/onlyoffice/mysql/initdb/setup.sql *Please note, that the above script will set permissions to access SQL server from any domains (`%`). If you want to limit the access, you can specify hosts which will have access to SQL server.* -Now you can create MySQL container setting MySQL version to 5.7: +Now you can create MySQL container setting MySQL version to 8.0.29: ``` sudo docker run --net onlyoffice -i -t -d --restart=always --name onlyoffice-mysql-server \ -v /app/onlyoffice/mysql/conf.d:/etc/mysql/conf.d \ -v /app/onlyoffice/mysql/data:/var/lib/mysql \ -v /app/onlyoffice/mysql/initdb:/docker-entrypoint-initdb.d \ + --tmpfs /var/log/mysql \ -e MYSQL_ROOT_PASSWORD=my-secret-pw \ -e MYSQL_DATABASE=onlyoffice \ - mysql:5.7 + mysql:8.0.29 ``` ## Installing Community Server