|
Posted by Martin on 12/05/05 22:52
Thanks.
I had already tried copying the php_mysql.dll to the Windows folder as
suggested by EmC but it didn't help. I tried it again just now (to
both \Windows and to \Windows\System32) but it made no difference.
In any case, I have the PHP folder in the Windows Path environment
variable.
I removed the @ sign and it now displays this message:
Call to undefined function mysql_connect() in C:\Path\PageName
Further suggestions?
Thanks.
On Mon, 05 Dec 2005 21:26:14 +0100, Peter van Schie
<vanschie.peter@gmail.com> wrote:
>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.
[Back to original message]
|