Re: PHP connect to mysql problem
| From: | Lester Caine | Date: | Thu, 06 Jan 2005 08:50:04 +0000 |
| Subject: | Re: PHP connect to mysql problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37997@lists.php.net to get a copy of this message | ||
Tsegaye Woldegebriel wrote:
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 clientWhich version of MySQL do you have loaded, and which version of the MySQL package have you installed in PHP. MySQL4.1 needs different combination to MySQL4 or earlier ? -- Lester Caine ----------------------------- L.S.Caine Electronic Services