MySQL Forums
Forum List  »  Newbie

mySQL-PHP connection
Posted by: Nawal Sharma
Date: July 19, 2005 08:22AM

Hello,

I'm new to mySQL and PHP. the problem i'm facing is of mySQL-PHP connection.
i'm trying ...

<?
$link = mysql_connect("localhost",'root','nawal')or die("Connect Error: ".mysql_error());
print "Successfully connected.\n";
mysql_close($link);
?>

and getting this message...

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Program Files\Apache Group\Apache2\htdocs\test\index.php on line 5
Connect Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client.

help me please..

Options: ReplyQuote


Subject
Written By
Posted
mySQL-PHP connection
July 19, 2005 08:22AM
July 28, 2005 12:52PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.