[CentOS] mysql : Access denied for user
mailing-lists at hughesjr.com
Sat May 20 15:04:23 UTC 2006
On Sat, 2006-05-20 at 08:41 -0400, William L. Maltby wrote:
> On Sat, 2006-05-20 at 07:48 -0400, Alfred von Campe wrote:
> > On May 20, 2006, at 7:33, Johnny Hughes wrote:
> > ><snip>
> > > 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 ...
> instead of
> 127.0.0.1 localhost localhost.localdomain
> for example?
> 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.
The problem is ... if you have DHCP ... you need the name of the machine
in the same line, as your IP address changes
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the CentOS