[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RaQ4] Just installed MySQL (pkg), doesnt work with PHP
- Subject: [cobalt-users] [RaQ4] Just installed MySQL (pkg), doesnt work with PHP
- From: Frederic Trudeau <ftrudeau@xxxxxxx>
- Date: Wed May 23 21:37:27 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello all.
Subject is pretty much straight-forward, but I have a couple of questions
related to MySQL on a RaQ4. When I create a 'index.php' file with a code
line like this one, for instance ;
<?
$link = mysql_connect(localhost,user,passwd);
?>
I get the following error message ... Fatal error: Call to undefined
function: mysql_connect() in /home/sites/site2/web/mysql.php on line 2
Just as if PHP has not been configured --with-mysql, but it has ;
http://ftrudeau.cam.org/
Did I miss something here ?
Also, why cant I enable/disable MySQL access to a given user on the
machine ? I cant even connect to mysql using a random user already set for
Telnet or SSH access ...
Thanks for any help.