Re: MySQL connect problems

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

 



hi,

Mysql 4.1.8 now support another authentication protocol and you need to upgrade to php 5 and activate mysqli extension (not mysql) and use mysqli_connect and change all mysql_* function to mysqli_*
another way to fix the problem is to allow previous protocol but I forgot the way how to do this


hope it will be usedul

BoB



Joseph L. Mueller a écrit :
Just upgraded to MSQL 4.1.8 and PHP 4.3.10 and am running apache 2.0.43 on Win XP. When trying to connnect to Mysql I get the following error:
"Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Documents and Settings\Owner\My Documents\My Website\listing8.1.php on line 3"


Listing8.1.php contains the following:
<?php
error_reporting (E_ALL);
$conn = mysql_connect("localhost", "joeuser", "somepass");
echo "$conn";
?>
Any help would be appreciated.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux