You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Eric Wong <er...@hotmail.com> on 2003/05/06 10:19:43 UTC

Upload file limit

I am using MySQL to store the data. I've tried to upload a file which is > 
1 M then it prompts out the error:
06 May 2003 16:15:18 - slidestore.mysql.MySQLContentStore - INFO - 
Connecting to "jdbc:mysql://localhost/slide" as user "kl"
06 May 2003 16:15:18 - org.apache.slide.common.Domain - WARNING - Service 
slidestore.mysql.MySQLContentStore@6576d5 access error : Communication link 
failure: com.mysql.jdbc.PacketTooBigException

Does it mean the file is too large? That's okay if I upload a small size 
file .. How to set the upload limit ? Thanks a lot.

_________________________________________________________________
毋須口罩!使用 MSN Messenger 與朋友和家人盡情聊天吧. 
http://go.msnserver.com/HK/25382.asp 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Upload file limit

Posted by Jagadesh Nandasamy <ja...@eself.com>.
Try setting max_allowed_packet as mysql variabe

1> open winmysqladmin.
2> go to my.ini setup tab
3> add the following,
set-variable=max_allowed_packet=16M

cheers,

-jagadesh


Eric Wong wrote:

> I am using MySQL to store the data. I've tried to upload a file which
> is > 1 M then it prompts out the error:
> 06 May 2003 16:15:18 - slidestore.mysql.MySQLContentStore - INFO -
> Connecting to "jdbc:mysql://localhost/slide" as user "kl"
> 06 May 2003 16:15:18 - org.apache.slide.common.Domain - WARNING -
> Service slidestore.mysql.MySQLContentStore@6576d5 access error :
> Communication link failure: com.mysql.jdbc.PacketTooBigException
>
> Does it mean the file is too large? That's okay if I upload a small
> size file .. How to set the upload limit ? Thanks a lot.
>
> _________________________________________________________________
> 毋須口罩!使用 MSN Messenger 與朋友和家人盡情聊天吧.
> http://go.msnserver.com/HK/25382.asp
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org