vi /opt/pg14.5/data/pg_hba.conf
host all all 0.0.0.0/0 md5
编辑postgresql.conf,修改如下参数:
listen_addresses = '*'
create user boraytest with password 'Boray@2022';
ALTER ROLE boraytest CREATEROLE SUPERUSER;
重启数据库
微信扫一扫
vi /opt/pg14.5/data/pg_hba.conf
host all all 0.0.0.0/0 md5
编辑postgresql.conf,修改如下参数:
listen_addresses = '*'
create user boraytest with password 'Boray@2022';
ALTER ROLE boraytest CREATEROLE SUPERUSER;
重启数据库
相关推荐