I have a problem connecting to my MySQL server running on a linux machine. It works fine from the local network (any computer in the same network).
Anyway, no connection can be established from other networks.
I have no idea why..
In the my.cnf I've set the port=3306
and bind-address=0.0.0.0
.
netstat -an | grep 3306
returns
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
The MySQL user is created like this
create user 'user'@'%' identified by 'pass';
create user 'user'@'localhost' identified by 'pass';
grant select on *.* to 'user'@'%';
grant select on *.* to 'user'@'localhost';
A portforwarding for port 3306 is configured in the router.
The file hosts.deny is empty.
As far as I can tell my server is listening on 3306 and nobody is between it and any client who blocks, still nobody but local clients can connect.
I've tried many solutions I found on stackoverflow but none of them helped..
I also have to admit I'm not that much used to Linux, so please give "noob-instructions" :)