I want to convert a PostgreSQL dump file I received to a MYSQL dump file or even sql text to be generated?
4 Answers
If you install the PostgreSQL client programs, you can use "pg_restore" to convert a dump file to a SQL script without having to have a PostgreSQL instance. Just do pg_restore dumpfile.pg and it will print the restore SQL to stdout.
4 Comments
Check this link ... probably of help
http://www.weberp.org/HowToConvert
Also, check this links
http://dbconvert.com/convert-mysql-to-postgresql-pro.php
https://stackoverflow.com/questions/1884060/is-there-a-free-tool-to-convert-mysql-dump-to-postgres
Comments
A google search yielded a reference to this discussion. It looks hopeful and maybe it will help.
HTH