标签:with lis 数据库mysql code 技术 防火 inf http img
1.防火墙开放端口
firewall-cmd --zone=public --add-port=8848/tcp --permanent
firewall-cmd --list-ports
开放centOS 网关,远程连接
grant all privileges on *.* to ‘root‘@‘192.168.128.1‘ identified by ‘root‘ with grant option;
开放docker容器网关,使得运行的docker连接linux数据库mysql
grant all privileges on *.* to ‘root‘@‘172.17.0.1‘ identified by ‘root‘ with grant option;
标签:with lis 数据库mysql code 技术 防火 inf http img
原文地址:https://www.cnblogs.com/lixiaochong/p/14406807.html