How to migrate data from MySQL database to PostgreSQL database?

193 views
Skip to first unread message

Aleksander Efremov

unread,
Apr 13, 2017, 9:12:24 AM4/13/17
to Google Cloud SQL discuss
Through script `GET` - `INSERT`? There is a tables with 2 million rows and more.

Alexis Guajardo

unread,
Apr 13, 2017, 5:00:41 PM4/13/17
to Google Cloud SQL discuss
Hello Aleksander,

This is not something that is supported, however there is information publicly available that would offer some tips to be able to do this.

// Instructions for importing data into CloudSQL postgres

// wikibook for converting a mysqldump output file to a postgres compatible dump file

// mysql docs regarding the --compatible flag


Alexis
CloudSQL Team

Aleksander Efremov

unread,
Apr 14, 2017, 12:42:34 AM4/14/17
to Google Cloud SQL discuss
Thank you for information. I did it already through: https://github.com/dimitri/pgloader. Very fast.

пятница, 14 апреля 2017 г., 1:00:41 UTC+4 пользователь Alexis Guajardo написал:
Reply all
Reply to author
Forward
0 new messages