mysql : Access denied for user

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



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.
> 
> HTH
> 

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...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060520/fb6c43c9/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux