Re: Not bale to connect to MySQL with PHP [message #169656 is a reply to message #169655] |
Tue, 21 September 2010 22:26 |
MikeB
Messages: 65 Registered: September 2010
Karma:
|
Member |
|
|
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.
|
|
|