List:General Discussion« Previous MessageNext Message »
From:Tonu Samuel Date:April 24 2000 2:11pm
Subject:Re: Unknown MySQL Server Host
View as plain text  
Aleph One wrote:

> > >         Unknown MySQL Server Host 'db.example.com' (0)
> > Seems like something wrong with DNS. Does this query works:
> >
> > nslookup db.example.com
> >
> > If not, then error is not in MySQL.
> 
> Yes. As I said the problem is intermittent. It works most of the time,
> but not sometimes. Restarting the db server and web server makes the
> problem go away... until the next time.

Can't help lot more but experience with unix machines says that you
don't 
have secondary nameserver or nameserver is broken or you have similar 
problem. Then it sometimes starts to fail.

Does 
nslookup -q=ns example.com

Gives at least two nameservers? 

Do they give right answers like this:

nslookup db.example.com ipoffirstDNS
nslookup db.example.com ipofsecondDNS


-- 
+----------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                           |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Tõnu Samuel           |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     tonu@stripped        |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Tallinn, Estonia      |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                       |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                      |
|             /*/             \*\                Developers Team |
+----------------------------------------------------------------+
Thread
Unknown MySQL Server HostAleph One23 Apr
  • Re: Unknown MySQL Server HostTonu Samuel24 Apr
    • Re: Unknown MySQL Server HostAleph One24 Apr
      • Re: Unknown MySQL Server HostLen Rose24 Apr
        • Re: Unknown MySQL Server HostAleph One24 Apr
  • Re: Unknown MySQL Server Hostsinisa24 Apr
  • Re: Unknown MySQL Server HostTonu Samuel24 Apr
Re: Unknown MySQL Server HostAleph One3 May
  • Re: Unknown MySQL Server HostThimble Smith4 May