PDA

View Full Version : Connecting two databses



gustavospammo
5th May 2014, 15:13
Hi, i need to copy data from a database (not every tables nor every column, just few) from a mysql databse and write them on a postgresql database.
I think i need to do a Qsqlquery to read them from the first databse and in a loop write them in the second db using query->next().
Is there a clever way to do it?

Lesiok
5th May 2014, 15:34
There is no other way.