when I try to login to my database using psql by doing the following:
psql dbname --username=qgis --password >>(prompts for password, entered password) psql: FATAL: permission denied for database "gisdatabase" DETAIL: User does not have CONNECT privilege.
I searched on Google for information about this simple problem, but did not find anyone directly talking about it.
I tried to do this:
psql dbname >>ALTER ROLE qgis WITH CONNECT;
But this error turned out:
ERROR: unrecognized role option "connect"
So, again, here, I asked another question about stackoverflow. Thank you for your time.
source share