PHP connect to mysql problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anybody help!
I can't connect from my PHP to mysql using the following code:
$link = mysql_connect("localhost", "root", "merkato")
   or die("Could not connect : " . mysql_error());
it replies with error:
Could not connect : Client does not support authentication protocol
requested by server; consider upgrading MySQL client

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux