[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: localhost in /etc/hosts



On Sun, Nov 12, 2006 at 11:28:45PM +0200, Hans du Plooy wrote:
> Hi guys,
> 
> Just wondering, which is correct:
> 
> 127.0.0.1        localhost.localdomain        localhost
> 
 
> I was always under the impression the first is the proper way.  I seem
> to be having issues with resovling localhost for some web applications
> on my Sarge server (127.0.0.1 localhost) but when I fix the hosts file,
> it works, but breaks other things (like mysql usernames).
> 

I always have it set like this, before I install anything beyond base.
I use postgresql not mysql but I'm assuming that it should be fixable in
its authentication mechanism.  Better to have a correct /etc/hosts file
and fix mysql.

Doug.



Reply to: