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
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