Hi there,
I'm new to mySQL and PHP and I just wrote a little database which works
fine.
Webserver (Xitami) and PHP 4 are running on the same machine as the mySQL
server (under WinXP).
PHP is also working fine, except there is always an error when I try to
cennect to the database.
This problem seems to be wide-spread enough , also I found only questions,
no answers, yet.
There are people having the same problem running apache.
Here's the prob:
Code
5 $link = mysql_connect(" localhost", "Administrator" , "mypassword ");
6 if (!$link) {
7 die('keine Verbindung möglich: ' . mysql_error());
}
output:
Warning: mysql_connect() : Client does not support authentication protocol
requested by server; consider upgrading MySQL client in
D:\Programme\xi tami-24\app\webpages \test.php on line 5
keine Verbindung möglich: Client does not support authentication protocol
requested by server; consider upgrading MySQL client
Does anybody have any idea?
Tanks a lot!
Regards
Thomas
I'm new to mySQL and PHP and I just wrote a little database which works
fine.
Webserver (Xitami) and PHP 4 are running on the same machine as the mySQL
server (under WinXP).
PHP is also working fine, except there is always an error when I try to
cennect to the database.
This problem seems to be wide-spread enough , also I found only questions,
no answers, yet.
There are people having the same problem running apache.
Here's the prob:
Code
5 $link = mysql_connect(" localhost", "Administrator" , "mypassword ");
6 if (!$link) {
7 die('keine Verbindung möglich: ' . mysql_error());
}
output:
Warning: mysql_connect() : Client does not support authentication protocol
requested by server; consider upgrading MySQL client in
D:\Programme\xi tami-24\app\webpages \test.php on line 5
keine Verbindung möglich: Client does not support authentication protocol
requested by server; consider upgrading MySQL client
Does anybody have any idea?
Tanks a lot!
Regards
Thomas
Comment