DB error

"john" <[email protected]> Tue, 24 May 2005 21:41:34 -0700
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <[email protected]>
I have installed mysql and created the db according to the docs on fedora core
1.  I am getting some sort of connect error running the installer.php script:


http://myhost/netjuke/installer/installer.php

Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/netjuke/lib/adodb/drivers/adodb-mysql.inc.php on line 234

Which is this line in the script:

 if (ADODB_PHPVER >= 0x4300)
         $this->_connectionID =
mysql_connect($argHostname,$argUsername,$argPassword,


[root@myhost docs]# rpm -qa |grep http
redhat-config-httpd-1.1.0-5
httpd-manual-2.0.50-1.0
httpd-2.0.50-1.0
[root@myhost docs]# rpm -qa |grep mysql
mysql-server-3.23.58-4
mysql-devel-3.23.58-4
mysql-3.23.58-4
php-mysql-4.3.8-1.1
[root@myhost docs]# rpm -qa |grep php
php-pcntl-4.3.8-1
php-4.3.8-1.1
php-mbstring-4.3.8-1.1
php-adodb-4.60-1.1.fc1.rf
php-gtk-pcntl-1.0.0-2
php-mysql-4.3.8-1.1
[root@myhost docs]#

 php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
dba
dbx
dio
exif
ftp
gd
gettext
gmp
iconv
mbstring
mysql
ncurses
openssl
overload
pcre
posix
pspell
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
yp
zlib

[Zend Modules]

[root@myhost docs]# service mysqld start
Initializing MySQL database:                               [  OK  ]
Starting MySQL:                                            [  OK  ]
[root@myhost docs]# mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 3.23.58

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create database netjuke;
Query OK, 1 row affected (0.01 sec)

mysql> use netjuke;
Database changed
mysql> \q
Bye

This is what I populate in the install script items:
 
DB Type [?] MySQL
DB Host [?]  myhost
DB User [?]  root
DB Password [?]  		
DB Name [?]  netjuke
  
Sys. Admin. Email [?]   [email protected]
Admin. Password [?]   
Confirm Password [?]  
  
Language [?] English  
  
User Themes [?]  Enabled  



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005