pgbouncer配置
来源:互联网 发布:联通网络解锁助手2017 编辑:程序博客网 时间:2024/06/05 17:50
参考https://my.oschina.net/Kenyon/blog/73935
1. pgbouncer.ini配置如下,其中连接postgresql的用户名为postgres密码为test:
[databases]
pgsql1 = host=127.0.0.1 port=5432 dbname=postgres user=postgres password=test[pgbouncer]
listen_port = 6543
listen_addr = 0.0.0.0
auth_type = md5
auth_file = /opt/pgbouncer/userlist_gp.txt
logfile = /tmp/pgbouncer.log
pidfile = /tmp/pgbouncer.pid
admin_users = postgres
pool_mode = Transaction
2. /opt/pgbouncer/userlist_gp.txt文件中为pgbouncer的用户名密码
"postgres" "123456"
3.启动程序为./pgbouncer -d -u postgres pgbouncer_gp.ini
可以通过psql连接到pgbouncer,命令为
psql -U postgres -d pgsql1 -p 6543 -h localhost
阅读全文
0 0
- pgbouncer配置
- pgbouncer配置
- pgbouncer简介及配置
- pgbouncer的安装配置
- HGDB-pgbouncer配置
- pgBouncer
- pgbouncer
- pgsql + pgbouncer高并发配置
- Pgbouncer 用户手册
- PgBouncer简述
- Pgbouncer 管理员手册
- pgbouncer临时记录一下
- pgbouncer使用快速入门
- pgbouncer安装练习
- pgbouncer连接greenplum单机
- pgbouncer工具安装使用
- pgbouncer简单介绍
- PGBouncer介绍及使用方式
- IMWeb提升营Day1 | 训练题1:有序二维数组的查找
- zabbix3.0 自定义告警邮件内容
- Scrapy爬取百度图片(二)
- 离散题目16 求自反闭包
- Table总结
- pgbouncer配置
- mysql取消大小写区分
- 搜索——codevs1185 幸运数字
- 交换排序
- 手把手教你仿一个知乎日报Android客户端(三)主页面设计
- CDH (cloudeta's distribution for hadoop) 添加节点
- 这 30 类 CSS 选择器,你必须记在脑袋里!
- csdn中如何转载别人的文章
- 如何用 React 完成图片上传功能