Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkcfw-0000AN-Uh for pgsql-sql@arkaria.postgresql.org; Sun, 24 Nov 2013 16:36:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vkcfw-0008HE-3V for pgsql-sql@arkaria.postgresql.org; Sun, 24 Nov 2013 16:36:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkcfv-0008H7-1z for pgsql-sql@postgresql.org; Sun, 24 Nov 2013 16:36:47 +0000 Received: from mout.web.de ([212.227.17.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vkcfs-0000wJ-7q for pgsql-sql@postgresql.org; Sun, 24 Nov 2013 16:36:46 +0000 Received: from epia.lan.net ([87.155.112.8]) by smtp.web.de (mrweb003) with ESMTPA (Nemesis) id 0Ma2V5-1W5J9Y2QWt-00LmfO for ; Sun, 24 Nov 2013 17:36:43 +0100 Received: from localhost (localhost [127.0.0.1]) by epia.lan.net (Postfix) with ESMTP id 2B4097CF27B9B; Sun, 24 Nov 2013 17:36:43 +0100 (CET) X-Virus-Scanned: amavisd-new at lan.net Received: from epia.lan.net ([127.0.0.1]) by localhost (epia.lan.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bH2ugQofzKZq; Sun, 24 Nov 2013 17:36:39 +0100 (CET) Received: from guest09.lan.net (guest09.lan.net [10.94.76.249]) by epia.lan.net (Postfix) with ESMTP id 4928F7CF27B43; Sun, 24 Nov 2013 17:36:39 +0100 (CET) User-Agent: K-9 Mail for Android 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> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----PSEFECSWB6M42US1ENBJI6S6V9A9CY" Subject: Re: Importing MySql dumped db into pgadmin From: Jan Lentfer Date: Sun, 24 Nov 2013 17:37:03 +0100 To: miks87 ,pgsql-sql@postgresql.org Message-ID: <5f0b8d5e-bd25-4c00-8645-7600254f9367@email.android.com> X-Provags-ID: V03:K0:ZrQZpWtlfbPpDPlMg1/jwJ8OjS6ENn7hzLiULp3rTXaiCt+sXoa vBv0yqRc58gmay/mfv33kldxl95poEMHG2XZOTiIfDJaxD3oOyl3VDX59ob2uFfK8E7JR6U vwVL/h9qswkGWriZM5ze8v+nepZWbq2fLpSWU/6juiEEgVXTzp8754eGU3dHKrX96q8Cs2u FEv8EDM+InVT1SQD4bpTg== X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org ------PSEFECSWB6M42US1ENBJI6S6V9A9CY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, it won't work that way because mysql is just too different. You might wan= t to look at the latest version of pgloader. Regards Jan miks87 schrieb: >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)... > > > >-- >View this message in context: >http://postgresql.1045698.n5.nabble.com/Importing-MySql-dumped-db-into-p= gadmin-tp5780055p5780061.html >Sent from the PostgreSQL - sql mailing list archive at Nabble.com. > > >--=20 >Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) >To make changes to your subscription: >http://www.postgresql.org/mailpref/pgsql-sql --=20 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesend= et. ------PSEFECSWB6M42US1ENBJI6S6V9A9CY Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,

it won't work that way because mysql is just too different. You might= want to look at the latest version of pgloader.

Regards

Jan



miks87 <michele.imperiali@hotmail.it> schrieb:
Hi Adrian, thanks for your answer. I'm using the ex=
port 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 seve= ral errors in the code: a few examples
are the use of "AUTO_INCREMEN= T" or also check conditions on table attributes
(I get error on the = clause ON). Also I get error when integer attributes are
specified w= ith the notazion int(maxlength)...



--
View th= is message in context: http://po= stgresql.1045698.n5.nabble.com/Importing-MySql-dumped-db-into-pgadmin-tp5= 780055p5780061.html
Sent from the PostgreSQL - sql mailing list = archive at Nabble.com.


--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesend= et. ------PSEFECSWB6M42US1ENBJI6S6V9A9CY--