PHP connect to mysql problem
| From: | Tsegaye Woldegebriel | Date: | Wed, 05 Jan 2005 12:25:21 +0000 |
| Subject: | PHP connect to mysql problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37996@lists.php.net to get a copy of this message | ||
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