postgresml/pgcat

can't connect admin database with pgcli

Closed this issue · 1 comments

jsvisa commented

Describe the bug

I'm connecting the pgcat admin database with pgcli, and failed with the error below:

$ pgcli -h 127.0.0.1 -p 6432 -U postgres -d pgcat
Password for postgres:
Unsupported query against the admin database

BTW, use pgcli to connect pgcat pools was succeed.

pgcli: v3.5.0
pgcat: ghcr.io/postgresml/pgcat:latest@6a688c2b7ce4

levkk commented

I don't use pgcli, but I suspect it's running some startup queries automatically for you. Use psql to connect to the admin database instead. Feel free to reopen if psql isn't working for you.