Re: mysql_connect
| From: | Jason Barnett | Date: | Wed, 21 Apr 2004 05:19:52 +0000 |
| Subject: | Re: mysql_connect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184095@lists.php.net to get a copy of this message | ||
Lasse Motroen wrote:
Help again please. Im trying to connect to MySQL server, using the PHP function: mysql_connect('localhost', 'someuser', 'somePword'); I run it, and what I get is: *Fatal error*: Call to undefined function: mysql_connect()It sounds like you don't have support for the MySQL functions in your build of PHP (I assume you're using Linux, because the Windows versions of PHP 4 should come with mysql support). If you don't have the extension, then you need to recompile PHP with MySQL support.
What do I have to do in order to make it work? Im using php-4.2.2-17. Thanks guys.http://www.php.net/mysql