OSX下安装PgBouncer

原创
2017/10/23 08:31
阅读数 308

首先得安装 brew,这个网上资料一大推,不细说。

brew install PgBouncer

The config file: /usr/local/etc/pgbouncer.ini is in the "ini" format and you
will need to edit it for your particular setup. See:
https://pgbouncer.github.io/config.html

The auth_file option should point to the /usr/local/etc/userlist.txt file which
can be populated by the /usr/local/opt/pgbouncer/bin/mkauth.py script.

To have launchd start pgbouncer now and restart at login:

brew services start pgbouncer

Or, if you don't want/need a background service you can just run:

pgbouncer -q /usr/local/etc/pgbouncer.ini

相关资料

https://www.linkedin.com/pulse/scaling-greenplum-pgbouncer-sandeep-katta-/?articleId=6128769027482402816

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部