diff options
Diffstat (limited to 'maintenance/postgres/mediawiki_mysql2postgres.pl')
-rw-r--r-- | maintenance/postgres/mediawiki_mysql2postgres.pl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/maintenance/postgres/mediawiki_mysql2postgres.pl b/maintenance/postgres/mediawiki_mysql2postgres.pl index 733af08f..75749dd5 100644 --- a/maintenance/postgres/mediawiki_mysql2postgres.pl +++ b/maintenance/postgres/mediawiki_mysql2postgres.pl @@ -1,7 +1,14 @@ #!/usr/bin/perl ## Convert data from a MySQL mediawiki database into a Postgres mediawiki database -## svn: $Id: mediawiki_mysql2postgres.pl 21254 2007-04-14 02:10:03Z greg $ +## svn: $Id: mediawiki_mysql2postgres.pl 26564 2007-10-10 01:24:18Z greg $ + +## NOTE: It is probably easier to dump your wiki using maintenance/dumpBackup.php +## and then import it with maintenance/importDump.php + +## If having UTF-8 problems, there are reports that adding --compatible=postgresql +## may help. + use strict; use warnings; @@ -175,7 +182,7 @@ $MYSQLSOCKET and $conninfo .= "\n-- socket $MYSQLSOCKET"; print qq{ -- Dump of MySQL Mediawiki tables for import into a Postgres Mediawiki schema -- Performed by the program: $0 --- Version: $VERSION (subversion }.q{$LastChangedRevision: 21254 $}.qq{) +-- Version: $VERSION (subversion }.q{$LastChangedRevision: 26564 $}.qq{) -- Author: Greg Sabino Mullane <greg\@turnstep.com> Comments welcome -- -- This file was created: $now |