connection problem??

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

 



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

I dropped the complete Mysql 4.1.1 backup into my directory.

Ran code below as phpconn.php

<html>

<head>
  <title></title>
</head>

<body>

<?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());

?>

</body>

</html>


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux