I got a strange problem.

I run a test-webserver and a MySQL server on the same machine. The code to 
connect to the database is:

$db_link = mysql_connect ("sql2.dahl-stamnes.net","stmbk","xxxx");

This gives me the error:

Warning: mysql_connect(): Client does not support authentication protocol 
requested by server; consider upgrading MySQL client 
in /home/dahls/Sykkel/Karusellen/Homepage/functions.inc on line 46

But if I, on the same machine, use the mysql command, it works:

mysql -h sql2.dahl-stamnes.net -u webuser -pxxxx
mysql>

What makes this even more strange, is that I have other pages on the same 
server, which connect to a different sql-server (a different machine running 
the same version of MySQL) without problems.

What can cause this problems?

-- 
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to