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

报错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
posted @ 2023-11-20 14:30  尐海爸爸  阅读(484)  评论(0编辑  收藏  举报