达梦报错:无效IP,设置达梦访问IP白名单

管理工具连接远程库,报错:无效IP

1.:关闭防火墙
systemctl status firewalld
service iptables status

2.查看用户和用户状态

select username,ACCOUNT_STATUS from dba_users;

3.查看用户 访问ip限制和资源限制

select id,failed_num,allow_addr from sysusers;   

*第2和第3需要联合查询才知道对应用户名称

select username,ACCOUNT_STATUS,id,failed_num,allow_addr from dba_users d LEFT join sysusers s on  D.user_id = s.id;

4.修改用户 资源限制条件

alter user "用户"  allow_ip null

示例:

alter user "TUSER" allow_ip "192.168.xx.xx" ,"192.168.xx.xx","192.168.xx.xx";

你可能感兴趣的:(SQL,达梦,tcp/ip,网络,sql,数据库)