PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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";
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
You need to be running the same version of MySQL locally, as what's running on the server. Your MySQL client (which PHP is using) is trying to send passwords in the wrong format for the version of MySQL on the server.