Re: DB access failure...
| From: | \[php\]Walter | Date: | Sat, 24 Jul 2004 02:25:22 +0000 |
| Subject: | Re: DB access failure... | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35450@lists.php.net to get a copy of this message | ||
"Jason Wong" <php-db@gremlins.biz> wrote in message
news:200407201351.10312.php-db@gremlins.biz...
> 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