Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting a postgresql database to mysql?

I've been a'Googling and there's all sorts of various forms of crazy ideas out there, but, dear Stack Overflow geniuses, is there a stable, reliable form of converting a postgresql database to a mysql database on Linux?

like image 885
Wells Avatar asked Feb 04 '26 23:02

Wells


1 Answers

You can write a program which connects to both databases and reads records from PostGres, inserting to MySQL. You'll have to do the schemas by hand.

This is a pretty common way to do database migrations... An automated tool would be nice, but the differences in functionality are so subtle that I'm not sure one exists.

like image 80
Borealid Avatar answered Feb 08 '26 05:02

Borealid



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!