Re: Call to undefined function: mysql_connect
| From: | Chris Hewitt | Date: | Wed, 22 Jan 2003 16:35:04 +0000 |
| Subject: | Re: Call to undefined function: mysql_connect | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9795@lists.php.net to get a copy of this message | ||
Michael Christie wrote:
Hi list , I have set up PHP4 on a open bsd box with mysql I was able to connect, create a database and create a new user, etc. Another problem has come up. Now, trying to connect to the database I have created, am using the standard PHP function: mysql_connect, and am getting the error: Fatal error: Call to undefined function: mysql_connect() in /var/www/htdocs/southwest/php/procQuery.php on line 8.I suspect it is because you did not compile php --with-mysql. Does a phpinfo() show mysql compiled in? HTH Chris PS Your compute clock is set at 2001.