No subject


Tue Nov 29 10:43:08 WST 2011


hostname.  I now get an error stating:
Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/phpMyAdmin/lib.inc.php3 on line 255
what this is asking for is username and password.  I've given that in
the file config.inc.php3, but I still get the same error.  Seems to me
it is not picking up the username and password from the config.inc.php3
file.  Does that seem right to you?
Also where it asks for username or password in the config.inc.php3 file
is the value supposed to be surrounded by ' ' (e.g ='root') or without '
'  (ex: = root)?

Thanks

        $cfgServer['user']=$PHP_AUTH_USER;
        $cfgServer['password']=$PHP_AUTH_PW;
    }

    if (empty($cfgServer['port']))
        $link = $connect_func($cfgServer['host'], $cfgServer['user'],
$cfgServer['password']) or mysql_die();
    else
        $link = $connect_func($cfgServer['host'].":".$cfgServer['port'],
$cfgServer['user'], $cfgServer['password']) or mysql_die();

    $result = mysql_query("SELECT VERSION() AS version") or mysql_die();
    $row = mysql_fetch_array($result);
    define("MYSQL_MAJOR_VERSION", substr($row["version"], 0, 4));
}


On Sun, 2002-12-01 at 02:02, Davyd 'proXy' Madeley wrote:
> On Sun, 2002-12-01 at 01:09, Jon Miller wrote:
> > Having some problems installing phpMyAdmin.  When we open a browser for
> > the site we get the following messages:
> > Parse error: parse error in /var/www/html/phpMyAdmin/config.inc.php3 on
> > line 11
> 
> lets see the file?
> 
> head -16 /var/www/html/phpMyAdmin/config.inc.php3 | tail -11
> 
> 
> -- 
> http://davyd.ucc.asn.au/
> linux.conf.au Perth 2003 <http://www.linux.conf.au>
> 
> PGP Fingerprint <http://davyd.ucc.asn.au/pgp>
> 08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA





More information about the plug mailing list