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

Posted by clb on 12/19/06 01:36

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

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