Re: Connection error
| From: | php3 at developersdesk dot com | Date: | Sat, 03 Mar 2001 03:43:53 +0000 |
| Subject: | Re: Connection error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42421@lists.php.net to get a copy of this message | ||
Addressed to: <squ@hirons.com>
php-general@lists.php.net
** Reply to note from <squ@hirons.com> Fri, 2 Mar 2001 15:59:55 -0500
>
> Hi,
>
> When I run the code:
>
> <?php
> mysql_connect ("LOCALHOST","webmaster2","hironsc0");
> ?>
>
> I got error message:
> Fatal error: Call to unsupported or undefined function mysql_connect() in
English translation: You have not compiled MySQL support into PHP. You
will need to re-compile, or find a different RPM. If you compile it
yourself, be sure to add with-mysql to the ./configure command.
If this is on a Windows host, look in php.ini and uncomment the line
that loads the MySQL DLL.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com