Hi all. Newbie here.
I've setup up MediaWiki on OS X using the arcane
instructions here:
http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Mac_OS_X
The Wiki works fine. Tested it by creating pages and
uploading images etc.
Then I wanted to import articles from Wikipedia. So I
downloaded the latest "articles only" dump
(20051127_pages_articles.xml.bz2), and then performed
a bzip2 -d on it. Then I renamed it as "articles.xml"
Next I tried to import it.
I went to my wikis direcotory and renamed
AdminSettings.sample as AdminSettings.php and changed
$wgDBadminuser and $wgDBadminpassword to what I had
specified when setting up the wiki (DB username and DB
password on the Site Config screen)
Then, after going to the maintenance directory, I
wrote this in the terminal:
php importDump.php /Users/xed/Desktop/articles.xml
It spits out this error:
<h1><img
src='/~xed/testwiki/skins/common/images/wiki.png'
style='float:left;margin-right:1em' alt=''>Testpedia
has a problem</h1><p><strong>Sorry! This site is
experiencing technical
difficulties.</strong></p><p>Try waiting a few minutes
and reloading.</p><p><small>(Can't contact the
database server: Client does not support
authentication protocol requested by server; consider
upgrading MySQL client (localhost))</small></p>
I thought it might have something to do with the size
of the "articles.xml" file (nearly 4GB), but when I
tested it on a single exported page from Wikipedia, it
does the same thing.
I'm running:
MediaWiki: 1.5.2
PHP: 5.0.4 (apache)
MySQL: 5.0.16-standard
Thanks
___________________________________________________________
Yahoo! Model Search 2005 - Find the next catwalk superstars -
http://uk.news.yahoo.com/hot/model-search/