DB_VERSION:openGauss 3.0.3
1.允许192.168网段用户使用jack用户登陆
--创建只读账号
CREATE USER jack WITH MONADMIN password "Gaussdba@Mpp";
--写进配置文件,不用重启
gs_guc set -N all -I all -h "host a...
mysql 配置白名单访问的步骤
1.登录
mysql -uroot -pmysql
2.切换至mysql库
use mysql;
3.查看有白名单权限的用户
select host,user from user;
4.指定ip有权限访问mysql
grant all on *.* to root@'192.168....