This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| unraid:dockers:mysql [2022/12/30 15:13] – [Adjust Max Connections] dirk | unraid:dockers:mysql [2023/09/22 08:23] (current) – [Adjust Max Connections] dirk | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| * < | * < | ||
| * Either use vs-code setup to edit my.cnf from /etc folder OR copy my.cnf from /etc folder in the docker to the server for editing < | * Either use vs-code setup to edit my.cnf from /etc folder OR copy my.cnf from /etc folder in the docker to the server for editing < | ||
| - | * add following lines to my.cnf (put them just under the [mysqld] line... putting them under [client] is no bueno!< | + | * add following lines to my.cnf (put them just under the [mysqld] line... putting them under [client] is no bueno!< |
| - | | + | |
| + | wait_timeout = 600 | ||
| + | interactive_timeout = 600 | ||
| + | max_connections = 500</ | ||
| * copy my.cnf back to docker < | * copy my.cnf back to docker < | ||
| * restart docker | * restart docker | ||