|
Subject:
|
Connecting To MySQL from PHP
|
|
Posted By:
|
AlisP2P
|
Post Date:
|
1/2/2006 2:36:18 PM
|
Hello:
Whenever I tried to access MySQL from PHP, I got the following error:
Fatal error: Call to undefined function mysql_connect() in C:\PHPCode\table2.php on line 2
I have tried re-installing Apache, MySQL, went through installation process very carefully ... but ... to no avail.
As the saying goes "When All Else Fail, refer to experts" ... So any ideas???
Note: When I was surfing net trying to resolve this problem, I cam across the info that mysql_connect is now depricated. Is this true?
Thanks
<<< Ali >>>
|
|
Reply By:
|
anshul
|
Reply Date:
|
1/4/2006 1:27:22 AM
|
If you're using PHP 5, you've to enable MySQL module manually with it; please see PHP Web site.
It is not an error with MySQL installtion; you may see it running by seeing in 'Windows services' or you may confirm it at command/shell prompt.
`~@#\^%&*/\.<.\/-|+|_!:;..=?> Students' finances
|