mysql_connect function error
Posted: Sun Dec 17, 2006 10:51 pm
I have this lines:
But I receive this error:
mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Inetpub\wwwroot\PHP\Function_DB_mySQL.php on line 14
Please, what is the cause of this error?
Thanks...
Code: Select all
14 $con = mysql_connect("localhost", "root", "xxxxx")or die('MySQL Connect Error: '.mysql_error());
15 mysql_select_db("midis");
16 $sql = "select tema,ritmo from temas order by tema";mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Inetpub\wwwroot\PHP\Function_DB_mySQL.php on line 14
Please, what is the cause of this error?
Thanks...