Re: table content transfer from mysql to postgresql

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: brijesh(at)divinetaccess(dot)com (brijesh)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: table content transfer from mysql to postgresql
Date: 2004-06-06 19:30:48
Message-ID: 20040606153048.0418d610.wmoran@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

brijesh(at)divinetaccess(dot)com (brijesh) wrote:

> Sir,
> I am a development engineer in network application
> I have a problem regarding upgrading my database
> the problem is how do I transfer the contents from one table in a
> database from one server to postgresql database table in another
> server.
> the data contents is in few MB.
> can you suggest me an easy way to do so?
> regards
> Brijesh Shetty

You could write a script in any number of languages that supports both
Postgres and MySQL, perl and PHP come to mind, although I'm sure there are
far more than those two.

You could also use the mysqldump program with the proper switches to produce
SQL standards-compliant SQL insert statements and then pipe the resultant
SQL script into Postgres.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jason Sheets 2004-06-06 20:04:13 Re: table content transfer from mysql to postgresql
Previous Message Gaetano Mendola 2004-06-06 18:43:44 Re: CREATE DATABASE on the heap with PostgreSQL?