Aymen++
04-14-2004, 09:25 AM
i have this code:
<?php
$conn = mysql_connect("localhost", "root", "elephant");
echo "$conn";
?>
and this is the output:
Warning: MySQL Connection Failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\program files\apache group\apache\htdocs\test\index.php on line 9
and this code:
<?php
$conn = mysql_connect();
echo "$conn";
?>
i have this output:
Resource id #1
what does it mean?
<?php
$conn = mysql_connect("localhost", "root", "elephant");
echo "$conn";
?>
and this is the output:
Warning: MySQL Connection Failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:\program files\apache group\apache\htdocs\test\index.php on line 9
and this code:
<?php
$conn = mysql_connect();
echo "$conn";
?>
i have this output:
Resource id #1
what does it mean?