Re: Importing MySql dumped db into pgadmin

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: miks87 <michele(dot)imperiali(at)hotmail(dot)it>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Importing MySql dumped db into pgadmin
Date: 2013-11-24 17:06:58
Message-ID: 52923232.4030008@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.html
> Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Marcin Krawczyk 2013-11-25 11:14:43 tab delimiter in output
Previous Message Jan Lentfer 2013-11-24 16:37:03 Re: Importing MySql dumped db into pgadmin