linux重置postgres密碼並設置遠程鏈接

ssh登陸linux後重置postgresql密碼 一、備份配置文件pg_hba.conf 咱們須要對pg-hba.conf修改,在改動前最好先備份它。它通常在/etc/postgresql/11/main/pg_hba.conf。linux $ cd /etc/postgresql/11/main/ $ cp pg_hba.conf pg_hba.conf-backup 二、修改配置文件pg
相關文章
相關標籤/搜索