Commit 66c4a7db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'mysql-to-og' into 'master'

MySQL to Postgres script
parents de855e24 70994c34
# 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
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment