summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strachan <astrachan@gitlab.com>2019-09-09 14:03:51 +0000
committerMarcia Ramos <marcia@gitlab.com>2019-09-09 14:03:51 +0000
commitba7c3d25e5721002e46f5cea3dc2f2a8b8547c9e (patch)
tree8ca0ff5cb7a6c2ecb50382dfe353f4ec0d0d3cca
parenta4a15970c2334bb2bc48e88dbdb7be3a476cbe6d (diff)
downloadgitlab-ce-ba7c3d25e5721002e46f5cea3dc2f2a8b8547c9e.tar.gz
docs update to mysql_to_postgresql.md adding timeout parameters
-rw-r--r--doc/update/mysql_to_postgresql.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/update/mysql_to_postgresql.md b/doc/update/mysql_to_postgresql.md
index f6a1b6abdbf..701caf0102e 100644
--- a/doc/update/mysql_to_postgresql.md
+++ b/doc/update/mysql_to_postgresql.md
@@ -13,7 +13,7 @@ NOTE: **Note:**
Support for MySQL was removed in GitLab 12.1. This procedure should be performed
**before** installing GitLab 12.1.
-[pgloader](https://pgloader.io/) 3.4.1+ is required.
+[pgloader](https://pgloader.io/) 3.4.1+ is required, confirm with `pgloader -V`.
You can install it directly from your distribution, for example in
Debian/Ubuntu:
@@ -125,6 +125,10 @@ new PostgreSQL one:
create no indexes, preserve index names, no foreign keys,
data only
+ SET MySQL PARAMETERS
+ net_read_timeout = '90',
+ net_write_timeout = '180'
+
ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public'
;
@@ -221,6 +225,10 @@ new PostgreSQL one:
WITH include no drop, truncate, disable triggers, create no tables,
create no indexes, preserve index names, no foreign keys,
data only
+
+ SET MySQL PARAMETERS
+ net_read_timeout = '90',
+ net_write_timeout = '180'
ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public'