okok Posted May 3, 2006 Share Posted May 3, 2006 I installed mysql 5 on a MS-XP machine running apache 1.3 and php 4.When a php script attempts to connect to mysql using[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]mysql_connect($host, $user, $pass)[!--colorc--][/span][!--/colorc--]the following error appears:[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL[!--colorc--][/span][!--/colorc--] ...When I use the same hostname, username and password via the commandline or from a GUI frontend, the connection works as it should.What may be wrong? Quote Link to comment Share on other sites More sharing options...
craygo Posted May 3, 2006 Share Posted May 3, 2006 Go here[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=92645\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=92645[/a]Ray Quote Link to comment Share on other sites More sharing options...
okok Posted May 3, 2006 Author Share Posted May 3, 2006 Thank you very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.