[Mediawiki-l] Changing database subsystem

Greg Sabino Mullane greg at turnstep.com
Sat Nov 17 16:58:58 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> So, the big question is, how can I move the database content from mySQL 
> to Postgres?
> Of course I can simple dump the wiki in XML, and re-import it into the 
> new system, but as far as I understand, this would mean that all user 
> logins, logging informations, atc. are lost, right?

Correct. You can try the conversion script mediawiki_mysql2postgres here:

http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/maintenance/postgres/mediawiki_mysql2postgres.pl

That should get everything, although it's not as foolproof as the 
XML transfer. Let me know if you run into problems with it: it may need 
some updating.

- --
Greg Sabino Mullane greg at turnstep.com
PGP Key: 0x14964AC8 200711171157
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFHPx2NvJuQZxSWSsgRA+3UAJ4xprCzfSi9FeDBqu15Db9cth1eWwCdF+dB
3g9KTCHm+VoSFDvISR9/YtI=
=/nbC
-----END PGP SIGNATURE-----





More information about the MediaWiki-l mailing list