I alread sucessfully install mySQL, Apache and PHP. and i able to operate on 
PHP,MYSQL and Apache. The problem is i am unable to connect PHP to MySQL.. 
 
<?php
$link = mysql_connect('localhost', 'okc', 'okchin');
if (!$link) {
   die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?> 
 
 
 
Warning: mysql_connect(): Client does not support authentication protocol 
requested by server; consider upgrading MySQL client in C:\Program Files\Apache 
Group\Apache2\htdocs\mysqltest.php on line 2
Could not connect: Client does not support authentication protocol requested by 
server; consider upgrading MySQL client 
 
 
what are the configuration i need to do for mysql in php??


---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! 
Download Messenger Now

Reply via email to