opengauss 排故集合

一 网上找的大神的办法 原来是用于 psotgres 的
断电 重启gauss服务

cd /var/lib/opengauss/data
rm -f postmaster.pid ## 删了一个 pid
cd /usr/local/opengauss/bin ##修复工具的目录
su - opengauss
pg_resetxlog -f /var/lib/opengauss/data
gs_ctl start
done
gsql -d postgres -r
ok了

none of the server’s SASL authentication mechanisms are supported
password_encryption_type 改过之后要重新建用户
openGauss=# DROP USER opgs;
DROP ROLE
openGauss=# CREATE USER opgs WITH PASSWORD ‘opgs@@7654’;
openGauss=# GRANT ALL PRIVILEGES TO opgs;
ALTER ROLE

你可能感兴趣的:(linux,运维,服务器)