Forum Moderators: coopster

Message Too Old, No Replies

php4.3.9 cannot connect to mysql 4.1.7

         

asdasddd

12:52 pm on Nov 16, 2004 (gmt 0)

10+ Year Member



hi,everybody,thanks for your help.

I have installed Mysql 4.1.7 on my windows xp professional machine, and php 4.3.9 and apache are all installed.And i am sure i have started my Mysql server! But when i connect to the mysql server in my php code, it get a messege like below:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\www\site\selfSite\control\test.php4 on line 2

and the php code is just a simple test code like:
<?php
$dd = mysql_connect("localhost", "user", "pass");
?>

all the code goes well on mysql server 4.0.22.
what can i do? Don't tell me go back to mysql 4.0.22.

thanks for your help. have a nice day!

coopster

1:08 pm on Nov 16, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Yep, that's a known issue. Have a look at message #9, should get you going...

[webmasterworld.com...]