sqlcrush
sqlcrush copied to clipboard
Postgresql password not passed to database from .sqlcrush/saved_databases
I haven't been able to make sqlcrush connect to my Postgresql database at all using command-line arguments, so I manually created an entry in ~/.sqlcrush/saved_databases, like so:
bgpdata postgresql:///bgpdata:bgpdata/bgpdata
(No, it's not a highly secure database sqlcrush -o bgpdata I get the dreaded CRITICAL FAILURE message, but the root-cause exception is
psycopg2.OperationalError: fe_sendauth: no password supplied
which is clearly not the case in my saved_databases entry.