OSX下安装PgBouncer

OSX下安装PgBouncer,第1张

概述首先得安装 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.git

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

总结

以上是内存溢出为你收集整理的OSX下安装PgBouncer全部内容,希望文章能够帮你解决OSX下安装PgBouncer所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/sjk/1172042.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-06-02
下一篇2022-06-02

发表评论

登录后才能评论

评论列表(0条)

    保存