On Wed, 2003-06-18 at 14:39, Anand Tomar wrote:
> i tried installing mysql-4.1.0-alpha, apache, php4.3.2 on windows2000Pro.
> now the issue is that i have all the 3 application running and interacting
> with each other in
> sync ....but every time i try to connect to mysql through php it gives me
> this error:
> 
> Warning: mysql_connect(): Client does not support authentication protocol
> requested by server. Consider upgrading MySQL client

This is because MySQL 4.1 has a new protocol that is not compatible with
the old (3.23 and 4.0) protocol.

There is no support for this protocol in PHP 4.3.2 and will unlikely
ever be in the 4.3.x series of PHP.  PHP5 already includes it but it is
not ready yet.

So, in other words, you have two opportunities:

1) Revert back to MySQL 3.23 or 4.0
2) Use the (unstable and not yet released) PHP5 from CVS. 
http://snaps.php.net have pre-compiled snapshots for Windows.  Beware!
that this is a CVS snapshot we are talking about.  You should not expect
it to be bug-free.  You should not expect to even install properly.  You
are totally on your own, and you are expected to fix problems that you
find in the C source code yourself.

But then again, that doesn't mean that it cannot work.  I have had it
running on Linux for quite a while now with very few problems.


I recommend going with option (1) since you seem to say you don't have
very much experience setting PHP up.
--
Best regards,

Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to