You must set up your mysql Server to accept Files up to 16MB.
Look for the Variable set-variable=max_allowed_packet=1M and change it to set-variable=max_allowed_packet=16M inf the mysql config file. The configfile is /etc/my.cnf.
Regards, Jochen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Whenever I try to upload a .tif-document greater than 1 MB I get a "MySQL server has gone away" error.
TIFs with less than 1 MB are uploaded without any problems.
You must set up your mysql Server to accept Files up to 16MB.
Look for the Variable set-variable=max_allowed_packet=1M and change it to set-variable=max_allowed_packet=16M inf the mysql config file. The configfile is /etc/my.cnf.
Regards, Jochen
That was the solution, great! Thank you very much!