[CentOS] mysql : Access denied for user
William L. Maltby
BillsCentOS at triad.rr.com
Sat May 20 12:41:44 UTC 2006
On Sat, 2006-05-20 at 07:48 -0400, Alfred von Campe wrote:
> On May 20, 2006, at 7:33, Johnny Hughes wrote:
> > Put the localhost name first in the line, like this:
> > 127.0.0.1 localhost xxxxx yyyy.yyy
> I've seen this cause many problems with other tools as well (not just
> mysql). I always thought it was wrong to include the actual hostname
> in the localhost line, and it's one of the first thing I change after
> building a system. Does any one else think it's a good idea to
> include the hostname in this line?
If you mean
127.0.0.1 mynodename ...
127.0.0.1 localhost localhost.localdomain
From rom *everything* I have encountered and read (from knowledgeable
folks?), only "localhost" and closely related should be there. Your
"real" node name should be on a line that assigns it's real IP address.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the CentOS