Re: Problem storing lonf files

2006-02-02 Thread Gleb Paharenko
Hello. Have a look here: http://dev.mysql.com/doc/refman/5.0/en/gone-away.html I suggest you to check the max_allowed_packet. See: http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html Celestino Gomez Cid wrote: >

Problem storing lonf files

2006-02-01 Thread Celestino Gomez Cid
Dear All, I am trying to store (using the C API) a long field in a longblob table field. The size of the sentence is 2361408 Bytes and when using the function mysql_real_query it returns an error saying that the MySQL server has gone. However, if I reduce the data to be stored in a factor of 4.