Solution found (Re: [opencms-dev] file upload fails in 5rc2: max_allowed_packet)

Sven Dittmar dittmar at rus.uni-stuttgart.de
Mon Feb 10 15:41:21 CET 2003


Hi there,

 > one of our users tried to upload a 800kb PDF and got this error message:

Found a hint in the list archiv: error message comes from mysql not 
tomcat or opencms (so my find had no chance to find the "max_allowed" 
string).

I changed:

/etc/mysql/my.cnf

 > #set-variable = max_allowed_packet=1M
 > set-variable  = max_allowed_packet=5M

and did

/etc/init.d/mysql restart

works fine now!

Sorry for the interruption...
Sven




More information about the opencms-dev mailing list