psql: FATAL: too many connections for role
I tried connecting to the database server using the command: psql -h host_ip -d db_name -U user_name --password It displays the following line and refuses to connect. psql: FATAL: too many connections for role "user_name". How to close the active connections? I do not have admin rights for the database. I am just an ordinary user. From inside any DB of the cluster: Catch 22: you need to be connected to a database first. Maybe you can connect as another user? To get detailed information for each connection by this user: SELECT * FROM pg_stat_activity WHERE usename = 'user_name'; As the same