Created
May 7, 2018 09:25
-
-
Save trydofor/10e0f4af290671928e9c99ebec76bb4b to your computer and use it in GitHub Desktop.
Ubuntu – mysql 5.6 – max connections 214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# append to [Service] | |
sudo tee -a /lib/systemd/system/mysql.service << EOF | |
LimitNOFILE=infinity | |
LimitMEMLOCK=infinity | |
EOF | |
sudo systemctl daemon-reload | |
sudo service mysql restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment