1.
1)修改bind-address = 0.0.0.0
vim /etc/mysql/mariadb.conf.d/50-server.cnf
2)重启一下
service mysql restart
1.
1)修改bind-address = 0.0.0.0
vim /etc/mysql/mariadb.conf.d/50-server.cnf
2)重启一下
service mysql restart