From 90a8b6f30b8172be3b38ce884e0fe7a19b528982 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 28 Dec 2017 02:08:40 +0000 Subject: [PATCH] Run update.sh --- mysql/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql/README.md b/mysql/README.md index 33baec93b..6e036aff1 100644 --- a/mysql/README.md +++ b/mysql/README.md @@ -172,6 +172,8 @@ $ docker run -it --rm mysql:tag --verbose --help When you start the `mysql` image, you can adjust the configuration of the MySQL instance by passing one or more environment variables on the `docker run` command line. Do note that none of the variables below will have any effect if you start the container with a data directory that already contains a database: any pre-existing database will always be left untouched on container startup. +See also https://dev.mysql.com/doc/refman/5.7/en/environment-variables.html for documentation of environment variables which MySQL itself respects (especially variables like `MYSQL_HOST`, which is known to cause issues when used with this image). + ### `MYSQL_ROOT_PASSWORD` This variable is mandatory and specifies the password that will be set for the MySQL `root` superuser account. In the above example, it was set to `my-secret-pw`.