Skip to content

Instantly share code, notes, and snippets.

@patriciovergaratobar
Created May 30, 2018 16:03
Show Gist options
  • Save patriciovergaratobar/d42a0af1728f589360645cec17f70f08 to your computer and use it in GitHub Desktop.
Save patriciovergaratobar/d42a0af1728f589360645cec17f70f08 to your computer and use it in GitHub Desktop.
https://www.digitalocean.com/community/questions/how-to-set-no-timeout-to-mysql
sudo nano /etc/mysql/my.cnf
[mysqlserver]
wait_timeout = 28800
interactive_timeout = 28800
O
SET GLOBAL connect_timeout=38800;
SET GLOBAL wait_timeout=38800;
SET GLOBAL interactive_timeout=38800;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment