"Jason Wong" <php-db@xxxxxxxxxxxx> wrote in message news:200407201351.10312.php-db@xxxxxxxxxxxxxxx > On Tuesday 20 July 2004 13:16, \[php\]Walter wrote: > > I have a mySQL DB running on an NT server. > > > $db_host = 'db.myserver.net'; > > > Now, if I change $db_host to the machine IP, it works fine. > > If db.myserver.net does not resolve to a sensible IP address add it to your > HOSTS file. It is in the HOSTS file. > Or setup your DNS properly. Not using local DNS. > Or just use the IP address. OK, that works, but... So, your saying that if the name is in the HOSTS file and it still does not work I should not try anything further and just use the IP? thanks anyway walter -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php