Tjek dette:https://www. digitalocean.com/community/questions/how-to-set-no-timeout-to-mysql Især hedder det: