[Mediawiki-l] Using search for a 3 letter word

Alexis Moinet alexis.moinet at fpms.ac.be
Fri Jun 22 13:03:06 UTC 2007


Monahon, Peter B. wrote :
> Thanks, Hugo!  But, MySQL v5 has a "my.ini" not
> a "my.cnf".  Same?  Anyway, I put those 4 lines into "my.ini".  But, I
> then get the typical "can't do that here" challenges.  Is it as simple
> as supplying a MySQL "root" name and password on the input of the
> command line or elsewhere?  Here's what happens:
> 
> (Input)
> C:\www\apache2\htdocs\mediawiki\maintenance> php rebuildtextindex.php
> [Enter]
> 
> (Result)
> PHP Notice: Undefined variable: wgDBadminuser in
> C:\www\apache2\htdocs\mediawik
> i\maintenance\rebuildtextindex.php on line 15
> 
> PHP Notice:  Undefined variable: wgDBadminpassword in
> C:\www\apache2\htdocs\medi
> awiki\maintenance\rebuildtextindex.php on line 15
> 
> DB connection error: Access denied for user 'ODBC'@'localhost' (using
> password:
> NO) (localhost)
> 
> ... can I just put the MySQL user and password hard-wired into the
> "rebuildtextindex.php" script and try again, or what?  Does MySQL need
> an off/on cycle to see the changes?
> 
> Here's line 15, by the way:
> 
> $database = Database::newFromParams( $wgDBserver, $wgDBadminuser,
> $wgDBadminpassword, $wgDBname );
> 
> Thanks!  -- Peter Blaise

have a look at maintenance/README ... (more particularly the line about AdminSettings.php)




More information about the MediaWiki-l mailing list