[CentOS] mysql : Access denied for user

Sat May 20 12:41:44 UTC 2006
William L. Maltby <BillsCentOS at triad.rr.com>

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.

HTH

-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060520/4a9bc542/attachment-0005.sig>