Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ba7c3d25
Commit
ba7c3d25
authored
Sep 09, 2019
by
Alexander Strachan
Committed by
Marcia Ramos
Sep 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs update to mysql_to_postgresql.md adding timeout parameters
parent
a4a15970
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
doc/update/mysql_to_postgresql.md
doc/update/mysql_to_postgresql.md
+9
-1
No files found.
doc/update/mysql_to_postgresql.md
View file @
ba7c3d25
...
@@ -13,7 +13,7 @@ NOTE: **Note:**
...
@@ -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:
...
@@ -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'
;
;
...
@@ -221,6 +225,10 @@ new PostgreSQL one:
...
@@ -221,6 +225,10 @@ new PostgreSQL one:
WITH include no drop, truncate, disable triggers, create no tables,
WITH include no drop, truncate, disable triggers, create no tables,
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment