3

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?

1
  • PostgreSQL has DbLink, but it's only for connecting to other PostgreSQL instances. Commented Aug 20, 2010 at 3:57

2 Answers 2

4

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.

Sign up to request clarification or add additional context in comments.

1 Comment

This is also what i fear i'd have to use... However, seeing as that seems the only solution, i expected to find at least some basic tool to build one...
0

I believe that you can work with a Data Pump tool in order to import information from ADO-compatible sources into Mysql. You will have to double check with stored procedures as an example... but tables, fields and data could be imported - in my experience - using those tools with no problem. I suggest you to check http://www.sqlmanager.net/en/products/mysql/datapump and try.. rgds.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.