]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1107310 - Mention max_allowed_packet in mysqldump section. r=LpSolit, a=glob
authorGervase Markham <gerv@gerv.net>
Thu, 5 Mar 2015 11:28:51 +0000 (11:28 +0000)
committerGervase Markham <gerv@gerv.net>
Thu, 5 Mar 2015 11:28:51 +0000 (11:28 +0000)
docs/en/rst/installing/backups.rst

index c4d1ec8631a43ae7afe1e1db3be73648e3cf6295..4b1953c443fd419e44114fe83929d6fc43608ee9 100644 (file)
@@ -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 <mysql>`, and should be larger than the
+largest attachment in your database. See the
 `mysqldump documentation <http://dev.mysql.com/doc/mysql/en/mysqldump.html>`_
 for more information on :file:`mysqldump`.