[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: Re: Problem with blobs
From: Michael P Vosseller <mpv () cse ! Buffalo ! EDU>
Date: 2001-07-03 22:54:20
[Download RAW message or body]
MySQL server limits the max size of queries/inserts.
To overide the default of 1M
start mysqld with this option
-O max_allowed_packet=#
such as
-O max_allowed_packet=20M
Good luck,
mike
On Tue, 3 Jul 2001, Mark Rader wrote:
> Hello Folks,
>
> I am trying to store a blob image using both code I have written
> and the example. The image size is about 10 Mb. Both pieces of
> code consistently give the same error.
>
> Error: MySQL server has gone away 2006.
>
> Any help as to what is causing this would be appreciated. I am
> using mysql++-1.7.8 with RedHat 7.1. Everything else is
> working.
>
> --
> Best regards,
> Mark mailto:mrader@utk.edu
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failure is the opportunity to begin again more intelligently.
- Henry Ford
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic