MySQL Forums
Forum List  »  Newbie

It should be so easy
Posted by: Simon Tiplady
Date: May 07, 2005 09:09AM

$user="root";
$password="password";
$database="test";
mysql_connect('localhost',$user,$password);

Why when I try and run this script in PHP do I get the following error
returned to me.

Warning: mysql_connect(): Client does not support authentication
protocol requested by server; consider upgrading MySQL client in
C:\Documents and Settings\Owner\My Documents\My Web
Sites\mysite\allhere\firstconnect.php on line 5

Username, password and database all exsist and are correct.

Cheers to anyone who can help me.

PHP, Apache, MySQL 4.1

Options: ReplyQuote


Subject
Written By
Posted
It should be so easy
May 07, 2005 09:09AM


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.