Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Location of pgadmin4 config_local.py on MacOS Mojave

The pgAdmin4 documentation for desktop deployment states that custom configuration should be done in config_local.py. Unfortunately I cannot find where this file would/should be on a Mac.

Where on the Mac (Mojave) does the pgAdmin 4 config reside.

Specifically I want to enable keep-alive on the client side of the DB.

like image 381
rwfbc Avatar asked Oct 28 '25 17:10

rwfbc


2 Answers

I found the location of the pgAdmin4 config file on my Mac (Mojave):

/Applications/pgAdmin 4.app/Contents/Resources/web

Unfortunately that did not help me any further with the underlying question, how to configure keep-alive for the connection to the DB. There is no such parameter in the config.py.

like image 99
rwfbc Avatar answered Oct 31 '25 11:10

rwfbc


use command: sudo find / -name "config.py"

I found that the config.py is in this path on macos catalina:

/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/config.py

like image 29
jack jin Avatar answered Oct 31 '25 12:10

jack jin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!