Jim,
Are you using a port other than the default (3306)? If so you can specify
it by localhost:3306
Is the server really running?
> I ran the following PHP script:
>
> <?php
> $die_msg = "Connection to Database Failed"
> $connect = mysql_connect("localhost","UserName","UserPW")
> or die("Connect Failed" ):
> echo $connect;
> $db = mysql_select_db("db_cap",$connect)
> or Die("db Select Failed");
> ?>
>
> I received the following error message
> Parse error: parse error, unexpected T_VARIABLE in
> C:\FREEDEV\XITAMI\webpages\private\test.php on line 3
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
-Pushkar S. Pradhan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php