PostgreSQL/PgBouncer: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|
|valign="top"|
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cat <<-'EXE'|sudo bash
cat <<-'EXE'|sudo bash
Line 6: Line 8:
EXE
EXE
</syntaxhighlight>
</syntaxhighlight>
|valign="top"|
<syntaxhighlight lang="bash">
    systemctl status  pgbouncer.service
sudo systemctl stop    pgbouncer.service
sudo systemctl start  pgbouncer.service
sudo systemctl restart pgbouncer.service
</syntaxhighlight>
|valign="top"|
<syntaxhighlight lang="bash">
ls -lah /etc/pgbouncer/
sudo cat /etc/pgbouncer/pgbouncer.ini
sudo cat /etc/pgbouncer/userlist.txt
</syntaxhighlight>
|}


== References==
== References==

Revision as of 00:28, 19 September 2024

cat <<-'EXE'|sudo bash
apt-get update;echo
apt list -a --upgradable
sudo apt-get install -y pgbouncer
EXE
     systemctl status  pgbouncer.service

sudo systemctl stop    pgbouncer.service
sudo systemctl start   pgbouncer.service
sudo systemctl restart pgbouncer.service
 ls -lah /etc/pgbouncer/


sudo cat /etc/pgbouncer/pgbouncer.ini
sudo cat /etc/pgbouncer/userlist.txt

References