Conver mysql .sql file in to postgreql .psql
1. mysqldump --compatible=postgresql --default-character-set=utf8 -r marketacreative.mysql -u root marketacreative
2. python db_converter.py marketacreative.mysql marketacreative.psql
Get db_converter.py from
https://github.com/lanyrd/mysql-postgresql-converter
3. psql -U root -h localhost -d marketacreative -f marketacreative.psql
Comments
Post a Comment