pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: dipesh <dipesh.mistry@mobilefundas.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Error in restore the Database in Postgres
Date: Thu, 17 Apr 2008 12:01:52 +0100
Message-ID: <48072E20.5010607@archonet.com> (raw)
In-Reply-To: <48072899.3080102@mobilefundas.com>
References: <48072899.3080102@mobilefundas.com>

dipesh wrote:
> Dear Sir,
> I have Mysql database backup file ( xyz.sql ). Now i want to restore 
> this ( xyz.sql ) file into Postgres Database.
> I try following command to restore but Postgres gives me the Error.

You have a mysql dump, which is designed to restore to a MySQL database. 
It will include mostly standard SQL and also all the specific MySQL 
differences.

You'll need to convert it to produce something that PostgreSQL can 
understand.

http://pgfoundry.org/search/?type_of_search=soft&words=mysql&Search=Search

Perhaps one of these two projects:
http://pgfoundry.org/projects/mysql2pgsql/
http://pgfoundry.org/projects/my2postgres/

-- 
   Richard Huxton
   Archonet Ltd



view thread (2+ messages)

Message-ID: <48072E20.5010607@archonet.com>
Permalink:  ../48072E20.5010607@archonet.com/
Also on:    postgresql.org/message-id/48072E20.5010607@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, dipesh.mistry@mobilefundas.com
  Subject: Re: Error in restore the Database in Postgres
  In-Reply-To: <48072E20.5010607@archonet.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