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

Re: localhost.localdomain

On Fri, Oct 07, 2005 at 04:15:18PM +0200, Christoph Haas wrote:

> MySQL definitely chokes on localhost.localdomain. And although MySQL will
> adopt to distributions using "localhost.localdomain" instead of "localhost"
> doesn't mean it's correct. MySQL by default expects "localhost" as the
> hostname assigned to the loopback interface.

No, MySQL is happy to use whatever name the loopback interface has; it
is the MySQL _documentation_ that stresses the "localhost" string
without mentioning that it depends on the naming service configuration.

So the bug is that the documentation does not describe what the code
really does; you have to fix one or the other. Upstream went with
modifying the code rather than the documentation, and I agree with them.


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

Reply to: