Posted by Martin A. Weinberger on 08/13/05 07:27
Hey all,
I have to increase the maximum packet length from the standard 1MB to a
higher value. I saw the MySQL manual says to set the
max_allowed_packet
variable. It's one thing to say "max_allowed_packet=32M". It's another thing
to do it through source code at runtime. How do I do that? Thanks in
advance? I saw one example somewhere that said to do
"mysql --max_allowed_packet=32M" from the MySQL command prompt. My problem
here is that I'm in source code. I scanned the PHP MySQL functions and don't
see any execute or variable set. The mysql_options() function doesn't have
this particular variable.
Thanks a lot in advance.
--
Martin A. Weinberger
ButterflyVista
http://www.butterflyvista.com/
[Back to original message]
|