You are here: PHP/MySQL Variables « PHP Language « IT news, forums, messages
PHP/MySQL Variables

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация