FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Not bale to connect to MySQL with PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Not bale to connect to MySQL with PHP [message #169659 is a reply to message #169656] Tue, 21 September 2010 23:21 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On 21/09/10 23:26, MikeB wrote:
> Denis McMahon wrote:
>> On 21/09/10 19:18, MikeB wrote:
>>
>>> That led me to Windows etc/hosts and I found the mapping of 127.0.0.1 to
>>> localhost was commented out.
>>
>> Hmm, some malware has been known to hamper with the hosts file.
>>
>> I'm pretty sure that the localhost definition isn't normally commented
>> out on the default file that comes with windows.
>>
>> Might be a symptom of a bigger underlying problem.
>>
>
> Actually, no. It is documented in Microsoft Technet that this has been
> done in Windows releases from Vista on. Unfortunately I don't have a
> reference handy right now, but I read up on it this morning.
>
> Seems Microsoft expects DNS service to resolve localhost and that they
> are moving away from the hosts file.

Well, I'd suggest that quite obviously the ms dns resolver isn't
resolving localhost without the help of the hosts file.

Where in the dns resolution are they expecting this to take place? In
the local host, or in some upstream dns server?

It seems a bit dim to have to ask my router / isp to resolve localhost
for me if I can do it locally, and if I take that out of the hosts file,
then it still seems that I should have some mechanism on the local
machine to do it instead of the hosts file, which should thus be
enabled, which presumably needs some configuration somewhere - do we add
a registry key?

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Php Include bug in firefox
Next Topic: Feed RSS and accented and other special chars
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 11:53:13 GMT 2024

Total time taken to generate the page: 0.06778 seconds