mysql problem with apache and php
Posted: Wed Jul 05, 2006 9:28 am
Please see this and help me ...
thanks in advance..
Result :
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Server\Apache2\htdocs\test.php on line 10
Sorry Please ..........
thanks in advance..
Code: Select all
<?
mysql_connect("localhost","root","root") or die("Sorry Please ..........");
mysql_select_db("test");
$re = mysql_query("select * from test1") or die(mysql_error());
while($ro = mysql_fetch_object($re))
{
echo $ro->name;
echo "<BR>";
}
?>Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Server\Apache2\htdocs\test.php on line 10
Sorry Please ..........