Commit f6189a9f07607628d02c3660496d50c57dcc226b
1 parent
83941ca2
Exists in
spb-stable
and in
3 other branches
Use underscores in doc filename like elsewhere.
Showing
2 changed files
with
9 additions
and
9 deletions
Show diff stats
doc/update/mysql-to-postgresql.md
@@ -1,9 +0,0 @@ | @@ -1,9 +0,0 @@ | ||
1 | -# Use the shell commands below to convert a MySQL GitLab database to a PostgreSQL one. | ||
2 | - | ||
3 | -``` | ||
4 | -git clone https://github.com/lanyrd/mysql-postgresql-converter.git | ||
5 | -cd mysql-postgresql-converter | ||
6 | -mysqldump --compatible=postgresql --default-character-set=utf8 -r databasename.mysql -u root gitlabhq_production | ||
7 | -python db_converter.py databasename.mysql databasename.psql | ||
8 | -psql -f databasename.psql -d gitlabhq_production | ||
9 | -``` |
@@ -0,0 +1,9 @@ | @@ -0,0 +1,9 @@ | ||
1 | +# Use the shell commands below to convert a MySQL GitLab database to a PostgreSQL one. | ||
2 | + | ||
3 | +``` | ||
4 | +git clone https://github.com/lanyrd/mysql-postgresql-converter.git | ||
5 | +cd mysql-postgresql-converter | ||
6 | +mysqldump --compatible=postgresql --default-character-set=utf8 -r databasename.mysql -u root gitlabhq_production | ||
7 | +python db_converter.py databasename.mysql databasename.psql | ||
8 | +psql -f databasename.psql -d gitlabhq_production | ||
9 | +``` |