pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hajek, Nick <Nick.Hajek@Vishay.com>
To: pgsql-admin@postgresql.org
Subject: Re: Database Conversion
Date: Thu, 04 Sep 2008 10:22:52 -0500
Message-ID: <AFD16ED07E37C64D963DA24840AA31F2043747AD@EVSCO01.na.vishayint.com> (raw)
In-Reply-To: <9B852776-95B1-41E2-B6A8-DFA92F7C410F@indiana.edu>


> 
> Hello, All,
> 
> I have a new faculty member who has a large database that is 
> in MySQL.  We don't support MySQL so the database needs to be 
> ported to PostgreSQL.  Her GA, who know MySQL, says that he 
> has a query that he will run that will put the data into 
> postgres.  I thought that the data would have to be output to 
> a text file and then copied into postgres.  I don't know 
> MySQL.  I've done a conversion from Oracle and this is how I 
> did it.  Is he correct that he can put the data into a 
> postgres database by running a MySQL query?  It doesn't sound 
> possible to me.
> 
> Carol
> 

You could possibly do it in a single operation using MS Access if you
have an ODBC connection to each database.  If however the dataset is
large, I wouldn't recommend it.  I have a number of MySQL and PostgreSQL
dbs and I either dump sql and then import or use PHP scripts when moving
between the two.

Nick  



view thread (20+ messages)  latest in thread

Message-ID: <AFD16ED07E37C64D963DA24840AA31F2043747AD@EVSCO01.na.vishayint.com>
Permalink:  ../AFD16ED07E37C64D963DA24840AA31F2043747AD@EVSCO01.na.vishayint.com/
Also on:    postgresql.org/message-id/AFD16ED07E37C64D963DA24840AA31F2043747AD@EVSCO01.na.vishayint.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-admin@postgresql.org
  Cc: Nick.Hajek@Vishay.com
  Subject: Re: Database Conversion
  In-Reply-To: <AFD16ED07E37C64D963DA24840AA31F2043747AD@EVSCO01.na.vishayint.com>
  References: <9B852776-95B1-41E2-B6A8-DFA92F7C410F@indiana.edu> <AFD16ED07E37C64D963DA24840AA31F2043747AD@EVSCO01.na.vishayint.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