Amy Zediak wrote:

>I'm trying to install Bugzilla and according to the instructions you
>have to make a few changes to MySQL and i'm a little confused.  It says
>that you have to add mysqld to init script and then add -0
>max_allowed_packet=1M to the command that starts mysqld.  I'm not
>completely sure how to do this.  Can anyone help?
>
It looks like you have been reading the following page:

http://www.bugzilla.org/docs/html/stepbystep.html#install-mysql

The part about adding mysqld to your init scripts just means you should 
ensure mysqld starts whenever your machine boots.  Depending on how you 
installed MySQL, this may already be set up for you.  If not, the 
following page of the MySQL documentation contains more information 
about how to do this:

http://mysql.com/doc/A/u/Automatic_start.html

The part about changing the value of the max_allowed_packet parameter 
may also be unnecessary.  The last time I installed MySQL (from an RPM), 
the parameter was already set to 1M by default.  Execute the following 
command to discover the value of this parameter:

mysqladmin variables

If it isn't 1M (or more), fix this by adding the following line to your 
my.cnf file:

set-variable = max_allowed_packet=1M

See the following pages of the MySQL manual for more info about this 
parameter and the my.cnf file:

http://www.mysql.com/doc/S/H/SHOW_VARIABLES.html
http://www.mysql.com/doc/O/p/Option_files.html

Note that the value of this parameter limits the size of attachments 
that can be attached to bug reports in Bugzilla, and 1M stands for 1 
megabyte (MB).  If you expect users to submit larger attachments, 
increase the value of this parameter.

-myk



---------------------------------------------------------------------
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