[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] PHP and nameservice (fwd)



Yeah - I know.  the password and user have both been changed to protect
the innocent.

---------- Forwarded message ----------
Date: Fri, 9 Nov 2001 19:58:49 -0500 (EST)
From: Michael D. Bathrick <prez@xxxxxxxxxxxxx>
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: PHP and nameservice

I'm having a problem with PHP/MySQL - mysql command

	mysql_pconnect("localhost:3306","username","password")

doesn't work, while

	mysql_pconnect("127.0.0.1:3306","boxcar","down1934")

does.  nslookup shows 

	nslookup localhost

		Server:  nexus.berkshire.net
		Address:  206.72.196.10

		Name:    localhost.berkshire.net
		Address:  127.0.0.1

any ideas?

Mike