[Mediawiki-l] Installation hangs...

Brion Vibber brion at pobox.com
Mon Aug 30 05:36:39 UTC 2004


Mela Eckenfels wrote:
> I checked config/index.php with the method previously mentioned on this List 
> (the die statement) an find out that all looks fine till line 392:
> 
>                         switch( $err ) {
>                         case 1045:
>                                 if( $conf->Root ) {
>                                         $errs["RootPW"] = "Check password";
> ... and so on.

The lines immediately previous are:

@$myver = mysql_get_server_info( $wgDatabase->mConn );
if( $myver ) {
	$conf->Root = true;
	print "<li>Connected as root (automatic)</li>\n";
} else {
	print "<li>MySQL error " . ($err = mysql_errno() ) .
		": " . htmlspecialchars( mysql_error() );
	$ok = false;

Try removing the '@' from that first line (it suppresses any error 
message -- the purpose is to check if we have a working connection as 
the superuser and, if not, try again with the given username and password).

Check to make sure that PHP's MySQL module is set up properly also.

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20040829/9e0cd447/attachment.pgp 


More information about the MediaWiki-l mailing list