From: Alejandro <elcorreodeale@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Network access to mysql
Date: Wed, 28 Jan 2009 14:28:36 -0200 [thread overview]
Message-ID: <60a795cd0901280828n651a873ei5c5318398a99b54@mail.gmail.com> (raw)
In-Reply-To: <498086EC.3060403@allenjb.me.uk>
[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]
2009/1/28 AllenJB <gentoo-lists@allenjb.me.uk>
> Peter Humphrey wrote:
>
>> Afternoon all,
>>
>> I have mysql running on my workstation and on my local server, and I want
>> to connect as an ordinary user from the workstation to the server; I can't.
>> This is what happens:
>>
>> $ mysql -p -h serv.ethnet
>> Enter password:
>> ERROR 2003 (HY000): Can't connect to MySQL server on 'serv.ethnet' (111)
>>
>> The same thing happens if I try as root.
>>
>> I can connect locally as myself or as root on either machine and
>> manipulate tables in various ways. I haven't yet installed a firewall on
>> either machine.
>>
>> I've set DEBUG=4 in /etc/conf.d/mysql on both machines, but nothing shows
>> up in /var/log/mysql/*; only some startup debug messages. I've run tcpdump
>> on the server, which shows that one packet passes in each direction,
>> followed immediately by a reverse lookup of the workstation being sent to
>> the name server. I don't know why nothing happens after the name-service
>> request is answered, but it seems to imply that the workstation is refusing
>> the request itself rather than forwarding it to the server.
>>
>> I can't see anything in /etc/conf.d/mysql or in /etc/mysql/* on either
>> machine to restrict network access, so what have I missed?
>>
>>
> Check the bind-address setting in /etc/my.cnf - if this is 127.0.0.1 then
> no other machines will be able to connect to the mysql server. To listen on
> all available interfaces, this setting should be "0.0.0.0" or unset.
>
> Also check that skip-networking is not enabled.
>
> Too late for me.
[-- Attachment #2: Type: text/html, Size: 2114 bytes --]
next prev parent reply other threads:[~2009-01-28 16:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-28 16:13 [gentoo-user] Network access to mysql Peter Humphrey
2009-01-28 16:25 ` AllenJB
2009-01-28 16:28 ` Alejandro [this message]
2009-01-29 14:44 ` Peter Humphrey
-- strict thread matches above, loose matches on Subject: below --
2008-04-29 9:51 [gentoo-user] Network access to MySQL Peter Humphrey
2008-04-29 13:15 ` Hamish
2008-04-29 17:24 ` kashani
2008-04-29 21:40 ` Mick
2008-05-03 8:25 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60a795cd0901280828n651a873ei5c5318398a99b54@mail.gmail.com \
--to=elcorreodeale@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox