Commit 70994c348dede58b6ed8da84b02465e4665dc305

Authored by dosire
1 parent 0aa389b4

Postgresql conversion script.

Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
doc/update/mysql-to-postgresql.md 0 → 100644
... ... @@ -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 +```
... ...