From d3a3c5736bc537981c83587120109bfe9d089141 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 6 Apr 2018 02:35:44 +0000 Subject: Update mysql_to_postgresql.md - increasing default timeouts to allow for slower network connections. --- doc/update/mysql_to_postgresql.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/update/mysql_to_postgresql.md b/doc/update/mysql_to_postgresql.md index 44e9f6c5516..f586a3174e8 100644 --- a/doc/update/mysql_to_postgresql.md +++ b/doc/update/mysql_to_postgresql.md @@ -83,6 +83,9 @@ Now, you can use pgloader to migrate the data from MySQL to PostgreSQL: create no indexes, preserve index names, no foreign keys, data only + set net_read_timeout = '120' + set net_write_timeout = '240' + ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public' ; @@ -224,7 +227,10 @@ Now, you can use pgloader to migrate the data from MySQL to PostgreSQL: WITH include no drop, truncate, disable triggers, create no tables, create no indexes, preserve index names, no foreign keys, data only - + + set net_read_timeout = '120' + set net_write_timeout = '240' + ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public' ; -- cgit v1.2.1