加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

OSX下安装PgBouncer

发布时间:2020-12-13 16:46:42 所属栏目:百科 来源:网络整理
导读:首先得安装 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 T

首先得安装 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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读