Re: Switching Database Engines - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Switching Database Engines
Date
Msg-id 286c44397088a73d54c8b7fccfd16723@biglumber.com
Whole thread Raw
In response to Switching Database Engines  (Carlos Mennens <carlos.mennens@gmail.com>)
Responses Re: Switching Database Engines
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> http://en.wikibooks.org/wiki/Converting_MySQL_to_PostgreSQL
>
> Can you guys tell me if this is something that will work? I don't mean
> the exact link above but just in general taking a database from MySQL
> and successfully migrating it for PostgreSQL use?

In general, yes. For your specific use case, it might be best to use
MediaWiki's XML dump and restore. You could also use the conversion
script that comes with MediaWiki, at:

maintenance/postgres/mediawiki_mysql2postgres.pl

It's a little old so I can't promise it will work with recent versions
of MediaWiki, but should be enough to get you started testing.

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201104261344
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk23BH4ACgkQvJuQZxSWSsgTOwCg7s0JXN8ZHrgng5F/c82+fbF6
Z3UAoLjBMqywR6ELmtGaJPz2IAiQoL2W
=SvR1
-----END PGP SIGNATURE-----



pgsql-general by date:

Previous
From: Carlos Mennens
Date:
Subject: Switching Database Engines
Next
From: Phoenix Kiula
Date:
Subject: Re: PG 9.0 - Default postgresql.conf?