ldrown Posted December 15, 2008 Share Posted December 15, 2008 I have been fighting this problem for 3 days. I upgraded to php4.4.9 and mysql 5.1 and I get this error: #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client I am running Apache 2 on a Win XP machine. I am attaching what I think is relevenant from my phpinfo.php. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/136994-solved-mysql-authentication-protocol-problem/ Share on other sites More sharing options...
fenway Posted December 15, 2008 Share Posted December 15, 2008 See here. Quote Link to comment https://forums.phpfreaks.com/topic/136994-solved-mysql-authentication-protocol-problem/#findComment-716009 Share on other sites More sharing options...
PFMaBiSmAd Posted December 15, 2008 Share Posted December 15, 2008 Why not upgrade to php5? Which would solve your error as well because it uses the latest mysql client library. The end of life of php4 was one year ago this month. Quote Link to comment https://forums.phpfreaks.com/topic/136994-solved-mysql-authentication-protocol-problem/#findComment-716071 Share on other sites More sharing options...
ldrown Posted December 15, 2008 Author Share Posted December 15, 2008 Because my client is using php 4.4.9. I did change to php 5 and it is working. I am leary of problems with my client's site. Quote Link to comment https://forums.phpfreaks.com/topic/136994-solved-mysql-authentication-protocol-problem/#findComment-716092 Share on other sites More sharing options...
PFMaBiSmAd Posted December 15, 2008 Share Posted December 15, 2008 Given the same php.ini configuration, php4 code works as is under php5, except for a few obscure cases and fixing any of these would be simple and straight forward - http://us3.php.net/manual/en/migration5.incompatible.php If you must use php4, the link that fenway posted will fix your immediate problem. Quote Link to comment https://forums.phpfreaks.com/topic/136994-solved-mysql-authentication-protocol-problem/#findComment-716120 Share on other sites More sharing options...
ldrown Posted December 16, 2008 Author Share Posted December 16, 2008 Thanks guys. The mysql documentation was helpful and (I think) solved the problem. It was a problem with libmysql.dll. Again thx..... Quote Link to comment https://forums.phpfreaks.com/topic/136994-solved-mysql-authentication-protocol-problem/#findComment-716452 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.