aboutsummaryrefslogtreecommitdiffstats
path: root/docs/en
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2015-03-05 11:32:50 +0000
committerGervase Markham <gerv@gerv.net>2015-03-05 11:32:50 +0000
commitdd15f4599b7d4f641f38c4f726b047d91769c43f (patch)
tree9555a4b15d0e84e40bfaae5ff936d3478d702515 /docs/en
parentc1fa559e16cbaa5e7a3133f7ea0b086ea00ba650 (diff)
downloadbugs-dd15f4599b7d4f641f38c4f726b047d91769c43f.tar
bugs-dd15f4599b7d4f641f38c4f726b047d91769c43f.tar.gz
bugs-dd15f4599b7d4f641f38c4f726b047d91769c43f.tar.bz2
bugs-dd15f4599b7d4f641f38c4f726b047d91769c43f.tar.xz
bugs-dd15f4599b7d4f641f38c4f726b047d91769c43f.zip
Bug 1107310 - Mention max_allowed_packet in mysqldump section. r=LpSolit, a=glob
Diffstat (limited to 'docs/en')
-rw-r--r--docs/en/rst/installing/backups.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/en/rst/installing/backups.rst b/docs/en/rst/installing/backups.rst
index f20b3021a..4b1953c44 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 <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`.
-.. todo:: Mention max_allowed_packet? Convert this item to a bug on checkin.
-
PostgreSQL
----------