[Mediawiki-l] importDump.php problem

Kevin L. Gross klg at flashnewsgroups.com
Fri Aug 18 22:08:02 UTC 2006


Anybody? Helllooooooooo! Are my messages getting thru?

Just tell me you see my message if nothing else.  C'mon,
really. Help me out here, throw me a bone.

Ask me a question if you need to, just please Helllp!

---------------------------------------------------------------

I'm using:

   MediaWiki 1.7.1
   Postgresql-8.1.4
   Gentoo Linux on Sparc Ultra2

The MediaWiki installed OK and I'm able to use a Perl
script to grab the desired .xml pages, but I'm getting this
error when running importDump.php from the command line:

for x in /local/swikis/*.xml
do
  php maintenance/importDump.php $x
done

DB connection error: No database connection
DB connection error: No database connection
DB connection error: No database connection
DB connection error: No database connection

How does the script know which database to use? Are there
environment variables?

How do I connect the php script to the wiki database? Is
there a man page or other documentation on importDump.php
I've missed?

-Kevin



More information about the MediaWiki-l mailing list