From a57fb8da45114b40678442c3814abf6ceaaf0a1e Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 8 May 2018 00:08:55 +0000 Subject: [PATCH] Run update.sh --- mysql/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/README.md b/mysql/README.md index 9d29dd9a3..64a145b7c 100644 --- a/mysql/README.md +++ b/mysql/README.md @@ -138,7 +138,7 @@ $ docker logs some-mysql ## Using a custom MySQL configuration file -The MySQL startup configuration is specified in the file `/etc/mysql/my.cnf`, and that file in turn includes any files found in the `/etc/mysql/conf.d` directory that end with `.cnf`. Settings in files in this directory will augment and/or override settings in `/etc/mysql/my.cnf`. If you want to use a customized MySQL configuration, you can create your alternative configuration file in a directory on the host machine and then mount that directory location as `/etc/mysql/conf.d` inside the `mysql` container. +The default configuration for MySQL can be found in `/etc/mysql/my.cnf`, which may `!includedir` additional directories such as `/etc/mysql/conf.d` or `/etc/mysql/mysql.conf.d`. Please inspect the relevant files and directories within the `mysql` image itself for more details. If `/my/custom/config-file.cnf` is the path and name of your custom configuration file, you can start your `mysql` container like this (note that only the directory path of the custom config file is used in this command):