I can retrieve no errormessage. PHP script ran to the line, where connection 
to MySQL is build. I think, I must setup the IIS so, that it error message 
is displayed (???). With the following code is shown only the string "before 
connecting".
How can I do?

My PHP code:

echo "<br>before connecting";

$link = mysql_connect(const_HOSTNAME, const_USERNAME, const_PASSWORD);
if (!$link)
 die("no connection is possible...: "  .mysql_error());


echo "<br>after link";
return;

"Chris" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Nhan wrote:
>> Hi,
>> I have IIS 5.1 with PHP 5  and MySQL 4.1
>> With a client tool (such as MySQL Front) I can access MySQL. But my PHP 
>> page cannot, with the same username and passord.
>> Why? What can I do?
>
> What is the error message?
>
> -- 
> Postgresql & php tutorials
> http://www.designmagick.com/ 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to