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:
>
> $die_msg = "Connection to Database Failed"
> $connect = mysql_connect("localhost","UserName","UserPW")
> or die("Connect Fail
On Fri, Aug 09, 2002 at 04:27:56PM -0500, Jim Bailey wrote:
> $die_msg = "Connection to Database Failed"
Where's the terminating ";" on that prior line?
> $connect = mysql_connect("localhost","UserName","UserPW")
> or die("Connect Failed" ):
You put a ":" rather than ";" on the prior line
2 matches
Mail list logo