Firewalls are for security. So only default used ports are opened. Port 3306 is normally not used for external connections and is a security risk.why does this not work be default...
bind-address = 127.0.0.1
bind-address = *
Firewalls are for security. So only default used ports are opened. Port 3306 is normally not used for external connections and is a security risk.
So that's why it's not opened by default.
Next to that, if it still does ot work after Zhenyapan's tip, you might have to change your /etc/my.cnf (or some kindlike place) for it to work.
If present, change:
toCode:bind-address = 127.0.0.1
Code:bind-address = *
It's the same. CSF is just a shell for iptables. Making life of detection and security a lot easier to monitor many services on a hosting server.I've used iptables before but not csf.
It's not like that on cPanel, I'm also using cP.(Like it is on cPanel/WHM)
It's the same. CSF is just a shell for iptables. Making life of detection and security a lot easier to monitor many services on a hosting server.
It's not like that on cPanel, I'm also using cP.
Only when you're not using a firewall. That's the same in Directadmin.
CSF for cPanel has it closed automatically too. It's basically the same CSF.
Next to that, cP also needs additional action:
So it's not really different on either system it just depends on if you do or don't use CSF. if you do, it's closed on both. If you don't, in cP you need some extra action to add the ip's.
- Go to Databases » Remote MySQL.
- Enter the IP address of the computer that will be making the remote connection.
- Click the Add Host button.
With DA you don't have to add them because DA does not have that option as far as I know.
The option cP has is a nice option. You might send in a feature request for it if you like it.
bind-address = 127.0.0.1
bind-address = *
Did you open port 3306 incoming and outgoing TCP?I'm still trying to access my server remotely without disable CSF
Did you issue theUPDATE mysql.user SET Host='%' WHERE Host='localhost' AND User='da_admin';
FLUSH PRIVILEGES;
I expected you already did as you have to restart mysql after every change, even like a /etc/my.cnf file change.I restarted mysql seems that is working now,