pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Alfredo Alcala <alfrealcala@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: move databases from a MySQL server to Postgresql.
Date: Fri, 23 Jun 2023 13:58:01 +0200
Message-ID: <e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com> (raw)
In-Reply-To: <CACy7nbsKRJFC6ZNChH_9eharSnz=N=kve8dY34jyoLgxdbog4w@mail.gmail.com>
References: <CACy7nbsKRJFC6ZNChH_9eharSnz=N=kve8dY34jyoLgxdbog4w@mail.gmail.com>

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





view thread (2+ messages)

Message-ID: <e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com>
Permalink:  ../e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com/
Also on:    postgresql.org/message-id/e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tomas.vondra@enterprisedb.com, alfrealcala@gmail.com
  Subject: Re: move databases from a MySQL server to Postgresql.
  In-Reply-To: <e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com>
  References: <CACy7nbsKRJFC6ZNChH_9eharSnz=N=kve8dY34jyoLgxdbog4w@mail.gmail.com> <e4271373-7b5f-7da5-f7e1-798adcd87b0b@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox