Posted by Peter van Schie on 12/05/05 22:26
Martin wrote:
> I did not receive any responses to my previous message (shown below)
> and I'm still stuck trying to get this resolved. I've tried everything
> I can think of. Can anyone give me any clues?
>
> Thanks.
You did receive two replies, but didn't reply to either one of them.
When the connection to mysql fails, it can be either an authentication
problem (the well-know old-style passwords issue maybe?) or it cannot
find the php_mysql.dll.
In the first case try printing mysql_error() on failure. Repressing the
notices from mysql_connect, using the @ sign won't really help in
finding what the problem is, so remove that too.
In the second case try to move the php_mysql.dll to a folder in the
systempath as EmC already suggested.
HTH.
Peter.
--
http://www.phpforums.nl
[Back to original message]
|