I have already followed the following link to setup the MySQL server in CentOS 7. How to allow remote connection to mysql
However, by commenting out "bind-address = XXX.XXX.XXX.XXX" in /etc/my.cnf , it does not work at all. the mariadb cannot be restarted. systemctl restart mariadb
Should I work on firewall setting or somewhere else?