[Mediawiki-l] Installation hangs...

Mela Eckenfels webmail at mela.de
Mon Aug 30 10:14:02 UTC 2004


Hello,

On Monday 30 August 2004 07:36, Brion Vibber wrote:

> 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).

OK, I was trying the installation today with 1.3.2 and it hangs again. I 
removed the @ and now I get this message in the error.log:

[30-Aug-2004 11:49:56] PHP Warning:  mysql_get_server_info(): supplied 
argument is not a valid MySQL-Link resource 
in /homepages/21/d11819252/htdocs/sub/wildpflanzen/config/index.php on line 
387


Some information about the server:

mysql  Ver 12.22 Distrib 4.0.20, for pc-linux (i686)

Connection id:          904544
Current database:       dbxxxxxxx
Current user:           dboxxxxxxx at xxx.xxx.xxx.xx
SSL:                    Not in use
Current pager:          less
Using outfile:          ''
Server version:         4.0.20-standard-log
Protocol version:       10
Connection:             db97.kundenserver.de via TCP/IP
Client characterset:    latin1
Server characterset:    german1
TCP port:               3306
Uptime:                 21 hours 11 min 14 sec

Threads: 46  Questions: 23218877  Slow queries: 122  Opens: 1821899  Flush 
tables: 1  Open tables: 64  Queries per second avg: 304.414


> Check to make sure that PHP's MySQL module is set up properly also.
In PHPInfo looks anything ok for me....

http://www.mela.de/sub/wildpflanzen/phpinfo.php

Greetings,

Mela



More information about the MediaWiki-l mailing list