agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@gmail.com>
To: miks87 <michele.imperiali@hotmail.it>
To: pgsql-sql@postgresql.org
Subject: Re: Importing MySql dumped db into pgadmin
Date: Sun, 24 Nov 2013 09:06:58 -0800
Message-ID: <52923232.4030008@gmail.com> (raw)
In-Reply-To: <1385310068777-5780061.post@n5.nabble.com>
References: <1385308157986-5780055.post@n5.nabble.com>
	<52922468.1060100@gmail.com>
	<1385310068777-5780061.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On 11/24/2013 08:21 AM, miks87 wrote:
> Hi Adrian, thanks for your answer. I'm using the export wizard from within
> phpmyadim and I'm exporting in SQL. Then I'm simply trying to execute the
> SQL code within pgAdmin but I get several errors in the code: a few examples
> are the use of "AUTO_INCREMENT" or also check conditions on table attributes
> (I get error on the clause ON). Also I get error when integer attributes are
> specified with the notazion int(maxlength)...

Yea, as previously noted that will not work.

Some docs:

https://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL#MySQL

Per the pgloader suggestion take a look at this blog from the author:

http://tapoueh.org/blog/2013/11/12-migrating-sakila

>
>
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Importing-MySql-dumped-db-into-pgadmin-tp5780055p5780061.htm...
> Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
>
>


-- 
Adrian Klaver
adrian.klaver@gmail.com


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (7+ messages)

Message-ID: <52923232.4030008@gmail.com>
Permalink:  ../52923232.4030008@gmail.com/
Also on:    postgresql.org/message-id/52923232.4030008@gmail.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: adrian.klaver@gmail.com, michele.imperiali@hotmail.it
  Subject: Re: Importing MySql dumped db into pgadmin
  In-Reply-To: <52923232.4030008@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox