sysbench 安装 postgres 测试环境( Connection to database failed: SCRAM authentication requires libpq version 10 or above)

发布时间 2023-11-20 14:41:02作者: 尐海爸爸

报错Connection to database failed: SCRAM authentication requires libpq version 10 or above的解决方案

1、下载安装包

https://gitee.com/xiaohai008/postgresql10-devel

2、安装

yum install -y libicu libicu-devel
rpm -ivh postgresql10-10.23-1PGDG.rhel7.x86_64.rpm
rpm -ivh postgresql10-10.23-1PGDG.rhel7.x86_64.rpm
rpm -ivh postgresql10-devel-10.23-1PGDG.rhel7.x86_64.rpm