Re: Error in restore the Database in Postgres - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Error in restore the Database in Postgres
Date
Msg-id 48072E20.5010607@archonet.com
Whole thread Raw
In response to Error in restore the Database in Postgres  (dipesh <dipesh.mistry@mobilefundas.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: dipesh
Date:
Subject: Error in restore the Database in Postgres
Next
From: "Marcin Krawczyk"
Date:
Subject: triggers order