docs update to mysql_to_postgresql.md adding timeout parameters
This commit is contained in:
parent
a4a15970c2
commit
ba7c3d25e5
|
@ -13,7 +13,7 @@ NOTE: **Note:**
|
||||||
Support for MySQL was removed in GitLab 12.1. This procedure should be performed
|
Support for MySQL was removed in GitLab 12.1. This procedure should be performed
|
||||||
**before** installing GitLab 12.1.
|
**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
|
You can install it directly from your distribution, for example in
|
||||||
Debian/Ubuntu:
|
Debian/Ubuntu:
|
||||||
|
@ -125,6 +125,10 @@ new PostgreSQL one:
|
||||||
create no indexes, preserve index names, no foreign keys,
|
create no indexes, preserve index names, no foreign keys,
|
||||||
data only
|
data only
|
||||||
|
|
||||||
|
SET MySQL PARAMETERS
|
||||||
|
net_read_timeout = '90',
|
||||||
|
net_write_timeout = '180'
|
||||||
|
|
||||||
ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public'
|
ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public'
|
||||||
|
|
||||||
;
|
;
|
||||||
|
@ -222,6 +226,10 @@ new PostgreSQL one:
|
||||||
create no indexes, preserve index names, no foreign keys,
|
create no indexes, preserve index names, no foreign keys,
|
||||||
data only
|
data only
|
||||||
|
|
||||||
|
SET MySQL PARAMETERS
|
||||||
|
net_read_timeout = '90',
|
||||||
|
net_write_timeout = '180'
|
||||||
|
|
||||||
ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public'
|
ALTER SCHEMA 'gitlabhq_production' RENAME TO 'public'
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue