Re: Fatal Error using mysql_connect()
| From: | Sam Masiello | Date: | Tue, 12 Mar 2002 18:25:28 +0000 |
| Subject: | Re: Fatal Error using mysql_connect() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17631@lists.php.net to get a copy of this message | ||
Looks like MySQL support was not compiled into PHP. If you are using a
linux based system you need to run the configure script with
the --with-mysql flag in order to utilize the MySQL function set.
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 X289
smasiello@synacor.com
----- Original Message -----
From: "mailing list" <mailing_list@BNFUSA.com>
To: <php-db@lists.php.net>
Sent: Tuesday, March 12, 2002 1:16 PM
Subject: [PHP-DB] Fatal Error using mysql_connect()
> Hello,
>
> I am receiving a fatal error on a php page:
>
> Fatal error: Call to undefined function: mysql_connect() in
> /www/meyercousa/pages/view_data.php on line 13
>
>
> My syntax on line 13 is: $db = mysql_connect('localhost', 'username',
> 'password');
>
> Anyone have any ideas?
>
> Regards,
>
> Adrian Mcmanus
> IT Director
> list@bnfusa.com
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>