[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] mySQL access from PHP on Qube 3



Sorry in advance for possible stupid question but here goes:

On Qube 3 started mySQL for first time today and when trying to connect via
PHP script receive error:
Fatal error: Call to undefined function: mysql_connect() in
/home/groups/home/web/db_connect.php on line 2

mySQL manual states:
Error: "Fatal error: Call to unsupported or undefined function
mysql_connect() in .." This means that your PHP version isn't compiled with
MySQL support. You can either compile a dynamic MySQL module and load it
into PHP or recompile PHP with built-in MySQL support. This is described in
detail in the PHP manual.

What do I need to do to connect to mySQL via PHP?  I was going to install
phpMyAdmin, but I think I need this resolved first. (I am novice w/ PHP and
mySQL so be gentle)

Thanks in advance,
Garrett