<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
-<!-- $Id: installation.xml,v 1.107.2.8 2006/04/30 12:59:45 mozilla%colinogilvie.co.uk Exp $ -->
+<!-- $Id: installation.xml,v 1.107.2.9 2006/04/30 20:37:27 lpsolit%gmail.com Exp $ -->
<chapter id="installing-bugzilla">
<title>Installing Bugzilla</title>
to modify your <filename>/etc/my.cnf</filename> as below.
</para>
- <para>
- If you are using MySQL 4.0 or newer, enter:
- </para>
<screen> [mysqld]
# Allow packets up to 1M
max_allowed_packet=1M</screen>
- <para>
- If you are using an older version of MySQL, enter:
- </para>
- <screen> [mysqld]
- # Allow packets up to 1M
- set-variable = max_allowed_packet=1M</screen>
-
<para>
There is also a parameter in Bugzilla called 'maxattachmentsize'
(default = 1000 Kb) that controls the maximum allowable attachment
<para>Rebuilding the indexes can be done based on documentation found at
<ulink url="http://www.mysql.com/doc/en/Fulltext_Fine-tuning.html"/>.
</para>
-
- <note>
- <para>
- The ft_min_word_len parameter is only supported in MySQL v4 or higher.
- </para>
- </note>
</section>
<section>
</para>
<para>
- Run the <filename>mysql</filename> command-line client.
- </para>
-
- <para>
- If you are using MySQL 4.0 or newer, enter:
+ Run the <filename>mysql</filename> command-line client and enter:
</para>
<screen> <prompt>mysql></prompt> GRANT SELECT, INSERT,
TO bugs@localhost IDENTIFIED BY '<replaceable>$db_pass</replaceable>';
<prompt>mysql></prompt> FLUSH PRIVILEGES;</screen>
- <para>
- If you are using an older version of MySQL,the
- <computeroutput>LOCK TABLES</computeroutput> and
- <computeroutput>CREATE TEMPORARY TABLES</computeroutput>
- permissions will be unavailable and should be removed from
- the permissions list. In this case, the following command
- line can be used:
- </para>
-
- <screen> <prompt>mysql></prompt> GRANT SELECT, INSERT,
- UPDATE, DELETE, INDEX, ALTER, CREATE, DROP,
- REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY
- '<replaceable>$db_pass</replaceable>';
- <prompt>mysql></prompt> FLUSH PRIVILEGES;</screen>
</section>
</section>