I have different postgresql clusters associated to different ports. Is it possible to specify somehow what port to connect?
For example in this situation adminer connects to 5432 port, but i'd also like to see what's going on on 5433
Ver Cluster Port Status Owner Data directory Log file
9.5 main 5432 online postgres /var/lib/postgresql/9.5/main /var/log/postgresql/postgresql-9.5-main.log
10 main 5433 online postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have different postgresql clusters associated to different ports. Is it possible to specify somehow what port to connect?
For example in this situation adminer connects to 5432 port, but i'd also like to see what's going on on 5433
Ver Cluster Port Status Owner Data directory Log file
9.5 main 5432 online postgres /var/lib/postgresql/9.5/main /var/log/postgresql/postgresql-9.5-main.log
10 main 5433 online postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log
Thanks
You can set e.g.
localhost:5432
in the server field.