MySQL Forums
Forum List  »  PHP

Problem Connecting to a MySQL server FROM PHP
Posted by: ienupar
Date: June 27, 2005 05:19AM

when i try to connect to a mysql server using php i get the following error:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\documentroot\mysqltest.php on line 10
Could not connect!

I have the newest MySQL client, just downloaded it yesterday. The source code for that page is:

<body>
<?
mysql_connect("127.0.0.1","xxx","xxx") or die("Could not connect!");

?>
</body>

There is no mistake in the source code, is it?

Please help me

Options: ReplyQuote


Subject
Written By
Posted
Problem Connecting to a MySQL server FROM PHP
June 27, 2005 05:19AM


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.