This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| unraid:dockers:mysql [2022/08/25 21:40] – [Load Football pool] dirk | unraid:dockers:mysql [2023/09/22 08:23] (current) – [Adjust Max Connections] dirk | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| * User standard SQL commands to import databases from back up, allow privileges, etc. | * User standard SQL commands to import databases from back up, allow privileges, etc. | ||
| * See [[unraid: | * See [[unraid: | ||
| + | |||
| + | ===== Connect ===== | ||
| + | < | ||
| ===== Load Football pool ===== | ===== Load Football pool ===== | ||
| Line 34: | Line 37: | ||
| UPDATE games SET vscore = NULL where year = 2021; | UPDATE games SET vscore = NULL where year = 2021; | ||
| UPDATE games SET hscore = NULL where year = 2021;</ | UPDATE games SET hscore = NULL where year = 2021;</ | ||
| + | |||
| + | ===== Adjust Max Connections ===== | ||
| + | * < | ||
| + | * < | ||
| + | * 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!< | ||
| + | |||
| + | wait_timeout = 600 | ||
| + | interactive_timeout = 600 | ||
| + | max_connections = 500</ | ||
| + | * copy my.cnf back to docker < | ||
| + | * restart docker | ||
| + | |||