You are here: Re: "Client does not support authentication protocol ..." « PHP SQL « IT news, forums, messages
Re: "Client does not support authentication protocol ..."

Posted by clb on 12/20/06 00:46

Okay, I think I found something: I did a PHP -i and, under the MySQL
section it says "Client API version 3.23.49. So now I will try creating a
new user with OLD_PASSWORD and see if that works. Stay tuned.

clb wrote:

> I am noob, stuck here. I took this frag from the docs:
>
> <?php
> $link = mysql_connect('localhost', 'clb', 'secret');
> if (!$link) {
> die('Could not connect: ' . mysql_error());
> }
> echo 'Connected successfully';
> mysql_close($link);
> ?>
>
> When I run it I get:
>
> PHP Warning: mysql_connect(): Client does not support
> authentication protocol requested by server; consider
> upgrading MySQL client in /home/clb/PHP/openmysql.php on line
> 3
> Could not connect: Client does not support authentication
> protocol requested by server; consider upgrading MySQL client
>
> Docs suggest difference in hash but I don't get it (PHP 4.4 CLI, MySQL
> 4.1).
> This must be an obvious problem but I'm out of ideas. Please help.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация