i ahvent gotten any answers from my other posts i hope this one gets some.
i keep geting
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\inetpub\wwwroot\test2\connect.php on line 6
1
now im looking thru the file and it looks right. im using the current veron of mysql 4.1 any ideas?
heres the connect.php
<?
$dbname="";
$dbhost="";
$dbuser="";
$dbpass="";
mysql_connect($dbhost,$dbuser,$dbpass) OR DIE("1");
mysql_select_db($dbname) OR DIE("1");
?>
ive even tried changing the file to this
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Not connected : ' . mysql_error());
}
// make foo the current db
$db_selected = mysql_select_db('foo', $link);
if (!$db_selected) {
die ('Can\'t use foo : ' . mysql_error());
}
?>
from that i get
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\inetpub\wwwroot\test2\connect.php on line 3
Not connected : Client does not support authentication protocol requested by server; consider upgrading MySQL client
it looks as though mysql_connect is no longer supported with 4.1 so now the question is.. what is supported to connect to mysql?