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)