From: Gervase Markham Date: Thu, 5 Mar 2015 11:32:50 +0000 (+0000) Subject: Bug 1107310 - Mention max_allowed_packet in mysqldump section. r=LpSolit, a=glob X-Git-Tag: bugzilla-5.0rc3~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd15f4599b7d4f641f38c4f726b047d91769c43f;p=thirdparty%2Fbugzilla.git Bug 1107310 - Mention max_allowed_packet in mysqldump section. r=LpSolit, a=glob --- diff --git a/docs/en/rst/installing/backups.rst b/docs/en/rst/installing/backups.rst index f20b3021ab..4b1953c443 100644 --- a/docs/en/rst/installing/backups.rst +++ b/docs/en/rst/installing/backups.rst @@ -15,14 +15,14 @@ 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`. -.. todo:: Mention max_allowed_packet? Convert this item to a bug on checkin. - PostgreSQL ----------