Click to See Complete Forum and Search --> : Can't connect in mysql5


manyamile
07-02-2007, 11:57 AM
Hi,

Here is my problem:

Until now I worked in MySQL4, all my current databases are in 4.
The webhost server accepts both 4 and 5.
Now I was told to work in MySQL5, but I get the following error:

Client does not support authentication protocol requested by server; consider upgrading MySQL client.

and here is the code:

mysql_connect("mysqldb2.ehost-service.com", "username", "password") or die(mysql_error());
mysql_select_db("dbase") or die(mysql_error());


What can I do?
Thanks.