I'm using an example from a book [see below]...
First I was getting:
as the result.

I dropped the complete Mysql 4.1.1 backup into my directory.

Ran code below as phpconn.php





$lnk = mysql_connect('localhost', 'my_username', 'my_pass')
       or die('Not connected : ' . mysql_error());

// make foo the current db
mysql_select_db('mysql', $lnk) or die ('Can\'t use foo : ' . mysql_error());




Now  keep getting the error below... Any ideas???

"Not connected : Client does not support authentication protocol requested by server; 
consider upgrading MySQL client"

I dropped the same version as before. Cannot remember if I specified another 
"authentication protocol" or how I did it.

Michael G. Tracey

Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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

Reply via email to