Trond Eivind Glomsrød wrote:
> rpm -qR php-mysql? You might lack the mysqlclient9 package...
Okay... I did not have that package installed, it's true --
[mjinks@titan mjinks]$ rpm -qR php-mysql
rpmlib(VersionedDependencies) <= 3.0.3-1
php = 4.0.4pl1-3
perl
mysql
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
ld-linux.so.2
libc.so.6
libcrypt.so.1
libm.so.6
libmysqlclient.so.10
libnsl.so.1
libz.so.1
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1.3)
rpmlib(CompressedFileNames) <= 3.0.4-1
So I grabbed the copy from "updates" and installed it, but no
difference.
In case it helps, the error as reported by mantis is:
[quoting]
Trying to connect to database mantis on host titan with username mantis
and password **(hidden)**.
If you don't see any errors below then your connection works.
Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/mantis/core_API.php on line 27
[end quotation]
Excerpt from the file referenced:
<snip>
# connect to database
function db_connect($p_hostname="localhost", $p_username="root",
$p_password="",
$p_database="mantis",
$p_port=3306 ) {
line 27 --> $t_result = mysql_connect( $p_hostname.":".$p_port,
$p_username, $p_password );
$t_result = mysql_select_db( $p_database );
<snip>
Thanks for your help so far, Trond.
--
Michael Jinks, IB // Technical Entity // Saecos Corporation
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list