Help me in installing PHP5 with MySQL 5
Posted: Tue Apr 15, 2008 2:24 pm
Hi guys,
I have faced a problem with my new MySQL and PHP.
I have been using PHP5 and MySQL 4 for 3 years. But recently I decided to update my MySQL Version to 5 series.
I have removed MySQL 4 and then Installed the new version, but my PHP scripts doesn't work (can not connect to MySQL Server) for connecting to MySQL.
I tested MySQL from Command-Prompt and it works properly. But when I tried to connect via a Script, the code doesn't work and the IE shows me this warning:
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\Inetpub\wwwroot\PHPTest\testlocalserver.php on line 12
Please tell me what should I do to install the MySQL 5 correctly.
Which kind of .DLLs or files I should have for PHP to Configure it!?
Please tell me anything you think it is necessary, because I am not a professional.
I do not know what to do!
Please help me.
I use these > Windows XP (SP2), IIS, PHP5
Thanks a lot.
Sincerely Yours
Saman J.
I have faced a problem with my new MySQL and PHP.
I have been using PHP5 and MySQL 4 for 3 years. But recently I decided to update my MySQL Version to 5 series.
I have removed MySQL 4 and then Installed the new version, but my PHP scripts doesn't work (can not connect to MySQL Server) for connecting to MySQL.
I tested MySQL from Command-Prompt and it works properly. But when I tried to connect via a Script, the code doesn't work and the IE shows me this warning:
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\Inetpub\wwwroot\PHPTest\testlocalserver.php on line 12
Please tell me what should I do to install the MySQL 5 correctly.
Which kind of .DLLs or files I should have for PHP to Configure it!?
Please tell me anything you think it is necessary, because I am not a professional.
I do not know what to do!
Please help me.
I use these > Windows XP (SP2), IIS, PHP5
Thanks a lot.
Sincerely Yours
Saman J.