Skip site navigation (1) Skip section navigation (2)

Re: Reading from Mysql & writting in PGsql

From: David Fetter <david(at)fetter(dot)org>
To: Mohsen Pahlevanzadeh <mohsen(at)pahlevanzadeh(dot)org>
Cc: pgsql-general(at)postgresql(dot)org, mysql(at)lists(dot)mysql(dot)com
Subject: Re: Reading from Mysql & writting in PGsql
Date: 2005-02-28 18:33:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On Sun, Feb 27, 2005 at 03:27:48PM -0800, Mohsen Pahlevanzadeh wrote:

> Dears,I need to read 1 field with select command from mysql.  Then
> Write it to pgsql.  Please guide me.....

If you need to do this directly, look into dbi-link.

There are conversion tools in contrib: and mysql2pgsql, and
of course you can use the database-independent access in your favorite
scripting language ( in perl, for example) to attach to both
databases, then stream from one to the other.

HTH :)

David Fetter david(at)fetter(dot)org
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

In response to

pgsql-general by date

Next:From: Bruno Wolff IIIDate: 2005-02-28 18:44:13
Subject: Re: row numbering
Previous:From: Peter EisentrautDate: 2005-02-28 18:31:03
Subject: Re: Possible to run the server with ANSI/ISO string escapeing

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group