Re: Cannot connect to MySQL
| From: | Dinesh Kumar | Date: | Wed, 14 Feb 2007 06:27:08 +0000 |
| Subject: | Re: Cannot connect to MySQL | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17866@lists.php.net to get a copy of this message | ||
Hi all
I encounter an error when trying to connect to MySQL database from PHP.
I have checked the web server log. It contains following error:
[Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP
Fatal error: Call to undefined function mysql_connect() in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\index.php on line 5,
referer: http://172.16.16.50/
is my MySQL installation faulty? or is it a PHP problem?
Dinesh