首页 > 系统相关 >llinux防火墙设置远程连接

llinux防火墙设置远程连接

时间:2023-03-03 15:47:36浏览次数:53  
标签:aa -- create 防火墙 identified 110 llinux 远程


#停止防火墙
systemctl stop firewalld 

#查看防火墙是否运行
systemctl status firewalld

# 防火墙设置允许
firewall-cmd --add-port=3306/tcp --permanent
firewall-cmd --reload

# 建立账号,并授管理员权限
create user aa identified by 'Admin_110';
grant all on *.* to aa;

create user bb identified with mysql_native_password by 'Admin_110';
grant all on *.* to bb;

标签:aa,--,create,防火墙,identified,110,llinux,远程
From: https://www.cnblogs.com/liang9479/p/17175800.html

相关文章