0

I have two databases one in mysql and other in postgres.

I want to copy nearly ten table data to postgres database which already has tables with the same name.

I want to do this using a shell script because i don't want do write 10 individual command to copy those tables.

How to achieve this?

Suganya
  • 652
  • 7
  • 14

1 Answers1

0

Suggest you to make mysqldump with --compatible=postgresql flag of required tables, and than insert them into your postgres database.