Re: No output after mysql_connect

"Jorge Bastos" <[email protected]> Tue, 13 Feb 2007 10:44:40 -0000
Newsgroups gmane.comp.db.mysql.windows
Message-ID <[email protected]>
So your mysql.so php extention isn't beeing loaded

do you have libmysql.dll in windows PATH ?


----- Original Message ----- 
From: "Dinesh Kumar" <[email protected]>
To: "Tobin Cataldo" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, February 13, 2007 5:34 AM
Subject: Re: No output after mysql_connect


> Hi
> 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/
>
> Dinesh
> ----- Original Message ----- 
> From: "Tobin Cataldo" <[email protected]>
>
>> This is probably not a MySQL issue...
>> Set your error.log in your php.ini. If you have already set that then the 
>> error should show up there. Also check the web server log for errors.
> ----------------------------------------------------------------------
>> <?php
>> echo 'Hello World';
>> $con = mysql_connect('localhost', 'dinesh', 'dinesh');
>> if (!$con)
>> {
>>     die('Could not connect: ' . mysql_error());
>> }
>> echo 'connected';
>> ?>
>> ------------------------------------------------------------------------
>
>
> -- 
> MySQL Windows Mailing List
> For list archives: http://lists.mysql.com/win32
> To unsubscribe: 
> http://lists.mysql.com/[email protected]
>
> 


-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]