On 17/06/07, Jeff Waugh <[EMAIL PROTECTED]> wrote:
And it's most likely failing on the very first time the enclosing function
(doQuery) is called.

Or actually, "is called with that user".

After getting your reply I found how to turn on debug messages:

1. Add a call to "$wgDatabase->debug(true);" in line 641 of
config/index.php (right after
$wgDatabase is created).
2. Set $wgDebugLogFile  = '/full/path/to/debug/file' in
includes/DefaultSettings.php

Then I got an error in the output file (lost it in the successful run)
that indicated that the "wikiuser" database user haven't been created
by the installation script even though it looks like it's designed to
do just that (and I supplied the root password to allow this). I
therefore created that user manually, allowed it everything on the
"wikidb" database, dropped the tables so the script won't complain
then re-executed it and got it working this time.

I suspect this is a bug in the installation script - even if it was
some error on my part the script should explain this better.

Thanks for the tip.

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to