1 |
Afternoon all, |
2 |
|
3 |
I have mysql running on my workstation and on my local server, and I want to |
4 |
connect as an ordinary user from the workstation to the server; I can't. |
5 |
This is what happens: |
6 |
|
7 |
$ mysql -p -h serv.ethnet |
8 |
Enter password: |
9 |
ERROR 2003 (HY000): Can't connect to MySQL server on 'serv.ethnet' (111) |
10 |
|
11 |
The same thing happens if I try as root. |
12 |
|
13 |
I can connect locally as myself or as root on either machine and manipulate |
14 |
tables in various ways. I haven't yet installed a firewall on either |
15 |
machine. |
16 |
|
17 |
I've set DEBUG=4 in /etc/conf.d/mysql on both machines, but nothing shows up |
18 |
in /var/log/mysql/*; only some startup debug messages. I've run tcpdump on |
19 |
the server, which shows that one packet passes in each direction, followed |
20 |
immediately by a reverse lookup of the workstation being sent to the name |
21 |
server. I don't know why nothing happens after the name-service request is |
22 |
answered, but it seems to imply that the workstation is refusing the |
23 |
request itself rather than forwarding it to the server. |
24 |
|
25 |
I can't see anything in /etc/conf.d/mysql or in /etc/mysql/* on either |
26 |
machine to restrict network access, so what have I missed? |
27 |
|
28 |
-- |
29 |
Rgds |
30 |
Peter |