Hi ? ?

> -----Original Message-----
> From: ? ? [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 19, 2001 12:12 PM
> To: [EMAIL PROTECTED]
> Subject: Faliue: Write huge binary data to blob Field of 
> mysql use jdbc
> 
> 
> Hi all:
> 
>   We are making a project about "document manage " ,I use 
> org.gjt.mm.mysql 
> as jdbc to communicate with mysql. I can succeed in writing 
> the binary data 
> (the size about 14M) to database ,but when I write the binary 
> data that's 
> size exceed 20M I get a Exception. Please help me! Thanks!

try setting 
'set-variable=max_allowed_packet=20M'
in my.cnf

(take a look what's the current value with 'show variables')

Andy


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to