Hi Ian,

----- Original Message ----- 
From: "Ian R-P" <[EMAIL PROTECTED]>

> $dbcnx = @mysql_connect('localhost','root','XXXXXX') or die('Unable to
> connect ' . mysql_error());
> $dbcnx = @mysql_connect('iansroom','root','XXXXXX') or die('Unable to
> connect ' . mysql_error());
> $dbcnx = @mysql_connect('192.168.2.59','root','XXXXXX') or die('Unable to
> connect ' . mysql_error());

Are you running this locally on your computer or on your server?

Have you got the info correct to connect:-
mysql_connect(DB_HOSTNAME, DB_USERNAME, DB_PASSWORD);

Bob E.



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to