[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] mySQL access from PHP on Qube 3
- Subject: Re: [cobalt-users] mySQL access from PHP on Qube 3
- From: shimi <shimi@xxxxxxxxxxxxxxxx>
- Date: Tue Jul 24 18:26:27 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Tue, 24 Jul 2001, Garrett Davis wrote:
> 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
Try mysql_pconnect();
- shimi.