Uma --
Can you connect from the command using mysql dbname -u -p
My connect function looks like this:
<?php
// database connect script
$dbhostname = "localhost";
$dbuser = "picklesql";
$dbpasswd = "pi56fb";
$dbname= "pickle";
$link = mysql_connect("$dbhostname", "$dbuser", "$dbpasswd")
or die("Connection to server: $dbhostname FAILED!!");
mysql_select_db("$dbname")
or die("Connection to database: $dbname FAILED!!");
?>
David
"Uma Shankari T." wrote:
>
>
>
> I have installed php sucessfully.But while trying to connect with mysql it
> is giving fatal error.This error is coming due to mysql problem or
> what.....
>
> -Uma
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]