I'm a server at my office to process some files and report the results to a remote MySQL server.
The files processing takes sometime and the process dies halfway through with the error: 2006, mysql server has gone away
Ive heard about the MySQL setting, wait_timeout, but do I need to change that on the server at my office or the remote MySQL server?