diff options
author | dosire <sytses@gmail.com> | 2014-03-31 20:23:10 +0400 |
---|---|---|
committer | dosire <sytses@gmail.com> | 2014-03-31 20:23:10 +0400 |
commit | f6189a9f07607628d02c3660496d50c57dcc226b (patch) | |
tree | 47950cd5ad7330d2d0569938d6cfc764c645c576 /doc/update/mysql_to_postgresql.md | |
parent | 83941ca2080432938cfcd8e4de9b8d2e616af09e (diff) |
Use underscores in doc filename like elsewhere.
Diffstat (limited to 'doc/update/mysql_to_postgresql.md')
-rw-r--r-- | doc/update/mysql_to_postgresql.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/update/mysql_to_postgresql.md b/doc/update/mysql_to_postgresql.md new file mode 100644 index 00000000000..9a324545eb0 --- /dev/null +++ b/doc/update/mysql_to_postgresql.md @@ -0,0 +1,9 @@ +# Use the shell commands below to convert a MySQL GitLab database to a PostgreSQL one. + +``` +git clone https://github.com/lanyrd/mysql-postgresql-converter.git +cd mysql-postgresql-converter +mysqldump --compatible=postgresql --default-character-set=utf8 -r databasename.mysql -u root gitlabhq_production +python db_converter.py databasename.mysql databasename.psql +psql -f databasename.psql -d gitlabhq_production +``` |