setting up an internal TLD

Daniel T. Staal DStaal at usa.net
Fri Oct 20 06:11:05 PDT 2006


On Thu, October 19, 2006 9:29 pm, Mike Taylor said:

> /usr/local/bin/mysqladmin -u root password <password>
>
>
> worked fine, but when I tried to run:
>
> /usr/local/bin/mysqladmin -u root -h homebox.localnet.dot password
> <password>
>
> I got the message:
>
> /usr/local/bin/mysqladmin: connect to server at 'homebox.localnet.dot'
> failed
> error: 'Host 'homebox.localnet.dot' is not allowed to connect to this
> MySQL server'

As a quick guess, I'd guess that the second command tried to attach via
TCP sockets instead of Unix sockets, and that your install of MYSQL isn't
set up to allow TCP sockets.  (In other words: It tried to connect as if
it were a remote host, and you only have local connections set up.)

It may not be right, but it is a place to start looking.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------



More information about the Openbsd-newbies mailing list