List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:May 28 1999 4:38pm
Subject:Re: mysql --host=207.156.251.187 Gets ERROR 1130: Host '' is not
allowed
View as plain text  
Scott wrote:
> 
> Does anyone know what command to use to connect to remote database or where I can
> find some examples to connect to remote DB using Perl?

Scott:

I think the problem has to do that 207.156.251.187 does
not have an in-addr.arpa record in your DNS (I checked),
so gethostbyaddr() will return a NULL. A couple of
solutions:

- fix your DNS server configuration
OR
- add 207.156.251.187 somehost to your /etc/hosts on the
server

What MySQL is actually doing can be found in the source,
but I just do not have the time to search. Monty or
someone who has looked at this part of the source,
correct me if I am way off.

-- 
Sasha Pachev
http://www.sashanet.com/ (home)
http://www.direct1.com/ (work)
Thread
mysql --host=207.156.251.187 Gets ERROR 1130: Host '' is not allowedScott28 May
  • Re: mysql --host=207.156.251.187 Gets ERROR 1130: Host '' is not allowedSasha Pachev28 May
Re: NewsgroupsFred Van Andel1 Nov