Hey there, how do I increase the max_connections? Sorry if that this question might be dumb, but I couldn't find a page saying how to increase the max_connections of the official mysql container.
By the way I want to modify the default wait-timeout value too, how to do that?
Thanks in advance.
You should pass the value:
See https://hub.docker.com/_/mysql/
If ok, pls close this tkt.
thanks!
On Jun 6, 2017, 2:58 PM +0800, ioggstream notifications@github.com, wrote:
You should pass the value:
• via a custom my.cnf
• via a parameter at server startupSee https://hub.docker.com/_/mysql/
If ok, pls close this tkt.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
hello @BirkhoffLee , do you found solustion?
OK, like this wokrs for me:
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag --max_connections=10000
Most helpful comment
OK, like this wokrs for me:
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag --max_connections=10000