Menu

MySQL server has gone away

2002-12-20
2002-12-20
  • Lars Reineke

    Lars Reineke - 2002-12-20

    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.

     
    • Jochen Entenmann

      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

       
      • Lars Reineke

        Lars Reineke - 2002-12-20

        That was the solution, great! Thank you very much!

         

Log in to post a comment.

MongoDB Logo MongoDB