Re: move databases from a MySQL server to Postgresql. - Mailing list pgsql-general

From Tomas Vondra
Subject Re: move databases from a MySQL server to Postgresql.
Date
Msg-id e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com
Whole thread Raw
In response to move databases from a MySQL server to Postgresql.  (Alfredo Alcala <alfrealcala@gmail.com>)
List pgsql-general
On 6/23/23 13:45, Alfredo Alcala wrote:
> Hello
> 
> I need to move some databases from a MySQL server to Postgresql.
> 
> Can someone tell me the migration procedure, tools and recommendations?
> 

I'm not an expect on this, but migrations tend to be somewhat
application-specific. I'd suggest you take a look at this wiki page:

https://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL#MySQL

and maybe try some of the tools mentioned there (pgloader, mysql2pgsql,
and so on).

You'll have to give it a try on your databases, and then ask questions
about practical issues you run ran into.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: synchronous_commit= remote_apply | "The transaction has already committed locally..."
Next
From: Nicolas Seinlet
Date:
Subject: plan using BTree VS GIN