From a28edf3c2423e748f0919ea7a803324c5b269e40 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 2 Mar 2009 01:21:54 +0000 Subject: Bug 480001: MySQL 5.1.31 throws an error when you try to SET SESSION max_allowed_packet (and previous versions of MySQL were just ignoring the SET SESSION), so just warn people if their max_allowed_packet is too small Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- docs/en/xml/installation.xml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'docs/en/xml') diff --git a/docs/en/xml/installation.xml b/docs/en/xml/installation.xml index 244f08001..65c6b9e8a 100644 --- a/docs/en/xml/installation.xml +++ b/docs/en/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -778,6 +778,28 @@ improving your installation's security. + +
+ Allow large attachments and many comments + + By default, MySQL will only allow you to insert things + into the database that are smaller than 64KB. Attachments + may be larger than this. Also, Bugzilla combines all comments + on a single bug into one field for full-text searching, and the + combination of all comments on a single bug are very likely to + be larger than 64KB. + + To change MySQL's default, you need to edit your MySQL + configuration file, which is usually /etc/my.cnf + on Linux. We recommend that you allow at least 4MB packets by + adding the "max_allowed_packet" parameter to your MySQL + configuration in the "[mysqld]" section, like this: + + [mysqld] +# Allow packets up to 4MB +max_allowed_packet=4M + +
Allow small words in full-text indexes -- cgit v1.2.3-24-g4f1b