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? Link to comment https://forums.phpfreaks.com/topic/8960-mysql_connect-problem/ 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 Link to comment https://forums.phpfreaks.com/topic/8960-mysql_connect-problem/#findComment-32925 Share on other sites More sharing options...
okok Posted May 3, 2006 Author Share Posted May 3, 2006 Thank you very much. Link to comment https://forums.phpfreaks.com/topic/8960-mysql_connect-problem/#findComment-32947 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.