|
Subject:
|
MySql db_connect
|
|
Posted By:
|
ujj
|
Post Date:
|
8/9/2005 2:42:53 PM
|
Hello, I´m learning how to connect to mysql, with "beginning php5" book. Chapter 9. I have a problem with de first "try it out", page 370. When run this scrip, I have got this message: Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in d:\Inetpub\wwwroot\pruebas\db_connect.php on line 10
I don´t know what it is. Could anyone help me, please?
I have installed Mysql version 4.1.7 At page 367 are 4 items, for windows users, mysql libraries and php.ini modification. I did it ok, checked all, and everything is all right.
Thanks. Juan José Urli ujj@ciudad.com.ar Buenos Aires, Argentina.
|
|
Reply By:
|
webphp
|
Reply Date:
|
8/14/2005 5:41:31 AM
|
please copy php.ini to windows folder and then copy all php DLL into system32 folder
|
|
Reply By:
|
dakaa101
|
Reply Date:
|
8/15/2005 8:25:50 AM
|
I have similar problem with MySQL Server 4.1, Apache 2.0.54 and PHP 4.4.0.0. A part of the problem is solved by inserting host,user and password in php.ini file(C:\Windows\). I can afford this because I'm only local user. That helped me with "Warning: mysql_connect() [function.mysql-connect]: Client does not support ...". I can't still conect to MySQL (I'm getting die message from PHP code) although I use correct values for -h, -u, -p. P.S.: Copying all dlls to system32 didn't solve my problem.
|
|
Reply By:
|
webphp
|
Reply Date:
|
8/16/2005 7:49:39 AM
|
hi is it posible to put your code here
|