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



is there a reason that the default entry for in /etc/hosts
reads " localhost.localdomain localhost"? This has hit me
several times and is especially problematic when accessing a MySQL
database locally. MySQL quickly complains like this:

..warning: connect to mysql server foobar: Access denied for user
'whoever'@'localhost.localdomain' (using password: YES)

because it expected to resolve to the name "localhost".

Shouldn't it just be " localhost"? Or at most 
" localhost localhost.$myrealdomain"?

Or should it rather be replaced during the installer's network base
configuration or the `base-config`? Or is the user supposed to change
"localdomain" to the real domain after the installation? Few people
actually seem to do that. :)

".signature" [Modified] 3 lines --100%--                3,41         All

Reply to: