Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2CF1F64FD64 for ; Thu, 4 Sep 2008 12:34:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 93156-04 for ; Thu, 4 Sep 2008 12:34:44 -0300 (ADT) X-Greylist: delayed 00:11:34.795137 by SQLgrey-1.7.6 Received: from mamv02.vishay.com (mamv02.vishay.com [206.229.145.24]) by postgresql.org (Postfix) with ESMTP id 745CF64FD15 for ; Thu, 4 Sep 2008 12:34:44 -0300 (ADT) X-ASG-Debug-ID: 1220541782-357301f80000-ysJW5H X-Barracuda-URL: http://192.168.239.24:8000/cgi-bin/mark.cgi Received: from VMMV03.VISHAY.COM (localhost [127.0.0.1]) by mamv02.vishay.com (Spam Firewall) with ESMTP id DEAF63F7E5A for ; Thu, 4 Sep 2008 11:23:02 -0400 (EDT) Received: from VMMV03.VISHAY.COM (vmmv03.Vishay.com [57.68.16.13]) by mamv02.vishay.com with ESMTP id jn3tOUODp8PnFTlP for ; Thu, 04 Sep 2008 11:23:02 -0400 (EDT) Received: from WSMV54.corp.vishayint.com (wsmv54.corp.vishayint.com [172.26.20.54]) by Mail1.Vishay.com (PMDF V6.3-x3 #31205) with ESMTP id <01MZ5U97C7TW936BVD@Mail1.Vishay.com> for pgsql-admin@postgresql.org; Thu, 04 Sep 2008 11:22:53 -0400 Received: from EVSCO01.na.vishayint.com ([172.25.20.16]) by WSMV54.corp.vishayint.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 04 Sep 2008 11:22:53 -0400 Date: Thu, 04 Sep 2008 10:22:52 -0500 From: "Hajek, Nick" X-ASG-Orig-Subj: RE: [ADMIN] Database Conversion Subject: Re: Database Conversion In-reply-to: <9B852776-95B1-41E2-B6A8-DFA92F7C410F@indiana.edu> To: pgsql-admin@postgresql.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Thread-Topic: [ADMIN] Database Conversion Thread-Index: AckOkae0LLp4oQibTFCf+s8//F3c+gAEAV3Q Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 04 Sep 2008 15:22:53.0595 (UTC) FILETIME=[19BB0EB0:01C90EA2] X-Barracuda-Connect: vmmv03.Vishay.com[57.68.16.13] X-Barracuda-Start-Time: 1220541782 X-Barracuda-Virus-Scanned: by Vishay Spam Firewall at vishay.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/23 X-Sequence-Number: 30116 >=20 > Hello, All, >=20 > I have a new faculty member who has a large database that is=20 > in MySQL. We don't support MySQL so the database needs to be=20 > ported to PostgreSQL. Her GA, who know MySQL, says that he=20 > has a query that he will run that will put the data into=20 > postgres. I thought that the data would have to be output to=20 > a text file and then copied into postgres. I don't know=20 > MySQL. I've done a conversion from Oracle and this is how I=20 > did it. Is he correct that he can put the data into a=20 > postgres database by running a MySQL query? It doesn't sound=20 > possible to me. >=20 > Carol >=20 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 =20