From: vladd%bugzilla.org <> Date: Thu, 8 Jun 2006 06:21:17 +0000 (+0000) Subject: Documentation patch for bug 314385: fine-tune the MySQL configuration instructions... X-Git-Tag: bugzilla-2.20.3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7ddfa21a8cddb64ee6e5cbaa4ebf00abb3038d5;p=thirdparty%2Fbugzilla.git Documentation patch for bug 314385: fine-tune the MySQL configuration instructions for allowing large attachments to be stored; patch by Colin Ogilvie , r=vladd. --- diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 347305f41c..95acd0c183 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -735,39 +735,6 @@ -
- Permit attachments table to grow beyond 4GB - - - By default, MySQL will limit the size of a table to 4GB. - This limit is present even if the underlying filesystem - has no such limit. To set a higher limit, follow these - instructions. - - - - Run the MySQL command-line client and - enter: - - - mysql> ALTER TABLE attachments - AVG_ROW_LENGTH=1000000, MAX_ROWS=20000; - - - - The above command will change the limit to 20GB. Mysql will have - to make a temporary copy of your entire table to do this. Ideally, - you should do this when your attachments table is still small. - - - - - This does not affect Big Files, attachments that are stored directly - on disk instead of in the database. - - -
-
Add a user to MySQL @@ -821,6 +788,43 @@ '$db_pass'; mysql> FLUSH PRIVILEGES;
+ +
+ Permit attachments table to grow beyond 4GB + + + By default, MySQL will limit the size of a table to 4GB. + This limit is present even if the underlying filesystem + has no such limit. To set a higher limit, follow these + instructions. + + + + After you have completed the rest of the installation (or at least the + database setup parts), you should run the MySQL + command-line client and enter the following, replacing $bugs_db + with your Bugzilla database name (bugs by default): + + + + mysql> use $bugs_db + mysql> ALTER TABLE attachments + AVG_ROW_LENGTH=1000000, MAX_ROWS=20000; + + + + The above command will change the limit to 20GB. Mysql will have + to make a temporary copy of your entire table to do this. Ideally, + you should do this when your attachments table is still small. + + + + + This does not affect Big Files, attachments that are stored directly + on disk instead of in the database. + + +