Ok. I have worked with PHP before. I just installed PHP and MySQL in my laptop. PHP works just fine. I installed MySQL and am able to create databases and tables through the COMMAND PROMPT. I created a connection file that contains the following code:
$conn = mysql_connect("localhost", "user", "password"); $mysql_select_db("troubleticket", $conn);
Of course, instead of “user” and “password” I typed the real thing. When I go to my browser I get this error message:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Apache2\htdocs roubleticket\conn.php on line 2
Fatal error: Call to undefined function: () in C:\Apache2\htdocs roubleticket\conn.php on line 3
What am I doing wrong? I used to do this all the time before? Is it the new MySQL version?
Thanks in advance,