File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
database/migrate-mysql-to-postgres Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ mysqldump --compatible=postgresql --default-character-set=utf8 -r /tmp/gitlabhq_
52
52
53
53
``` bash
54
54
wget https://raw.github.com/lanyrd/mysql-postgresql-converter/master/db_converter.py -O /tmp/db_converter.py
55
- python /tmp/db_converter.py /tmp/gitlab_production .mysql /tmp/gitlab_production .psql
55
+ python /tmp/db_converter.py /tmp/gitlabhq_production .mysql /tmp/gitlabhq_production .psql
56
56
```
57
57
58
58
*** Note:*** This was tested using debian 7, with python 2.7.3
59
59
60
60
# Import the database
61
61
62
62
``` bash
63
- sudo -u git -H psql -d gitlabhq_production -f /tmp/gitlab_production .psql
63
+ sudo -u git -H psql -d gitlabhq_production -f /tmp/gitlabhq_production .psql
64
64
```
65
65
66
66
# Update database config
You can’t perform that action at this time.
0 commit comments