From 3ca9302db411fd281eb9090e2f368f3ccbc24f96 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Thu, 5 Mar 2015 11:45:50 +0000 Subject: [PATCH] Bug 1107310 - Mention max_allowed_packet in mysqldump section. r=LpSolit, a=glob git-svn-id: svn://10.0.0.236/trunk@265843 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/.gitrev | 2 +- .../webtools/bugzilla/docs/en/rst/installing/backups.rst | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index a3360cc392b..05d856cbf1a 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -9319 \ No newline at end of file +9320 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 96c6565f921..5a5b9014390 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -b7147b778824e13a15f912fdf458bf3959d439e5 \ No newline at end of file +c33b98db4746332fe5a8403a7a4828964a218012 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/docs/en/rst/installing/backups.rst b/mozilla/webtools/bugzilla/docs/en/rst/installing/backups.rst index c4d1ec8631a..4b1953c443f 100644 --- a/mozilla/webtools/bugzilla/docs/en/rst/installing/backups.rst +++ b/mozilla/webtools/bugzilla/docs/en/rst/installing/backups.rst @@ -15,9 +15,11 @@ setup. MySQL ----- -:command:`mysqldump --opt -u $USERNAME -p $DATABASENAME > backup.sql` +:command:`mysqldump --max-allowed-packet=32M -u $USERNAME -p $DATABASENAME > backup.sql` -See the +The value for :command:`max-allowed-packet` should be the value you've set in +your :ref:`MySQL configuration file `, and should be larger than the +largest attachment in your database. See the `mysqldump documentation `_ for more information on :file:`mysqldump`.