diff options
author | Gervase Markham <gerv@gerv.net> | 2015-03-05 12:28:51 +0100 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2015-03-05 12:28:51 +0100 |
commit | c33b98db4746332fe5a8403a7a4828964a218012 (patch) | |
tree | 7895ceb0db64efa1e98d86b8de3e848e06939289 | |
parent | b7147b778824e13a15f912fdf458bf3959d439e5 (diff) | |
download | bugzilla-c33b98db4746332fe5a8403a7a4828964a218012.tar.gz bugzilla-c33b98db4746332fe5a8403a7a4828964a218012.tar.xz |
Bug 1107310 - Mention max_allowed_packet in mysqldump section. r=LpSolit, a=glob
-rw-r--r-- | docs/en/rst/installing/backups.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/en/rst/installing/backups.rst b/docs/en/rst/installing/backups.rst index c4d1ec863..4b1953c44 100644 --- a/docs/en/rst/installing/backups.rst +++ b/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 <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`. |