I checked the mysql migration toolkit ( that was my first choice as it worked well with oracle etc) but for postgresql I do not think it would do... Unless you want to implement your generic driver.
The other viable tool is pg2mysql
http://www.lightbox.ca/pg2
there is some more info on the topic here:
- http://forums.mysql.com/li
> pg_dump -s dbname >schema.sql
> pg_dump -d -a dbname >data.sql
> to get just the schema in one file and the data in inserts in another
> file. Then you could use a perl script driven by SQL::Translator (check
> http://www.cpan.org) to translate the schema from Pg to MySQL. Create
> the schema in MySQL, then load via the inserts
Source: http://www.thescripts.com/
Also it seems it is not very common to move to mysql from postgres, coz postgres is more widely supported / powerful etc...
Main Topics
Browse All Topics





by: ikeworkPosted on 2007-05-09 at 10:37:55ID: 19058831
you can use "MySQL Migration Toolkit" .. that'll do the dirty work for you .. ;-)
cts/tools/
you can get it here:
http://www.mysql.com/produ
good luck ..
ike