[GRASS-dev] G70: Link to PG database issue (wxGUI)
Martin Landa
landa.martin at gmail.com
Sat May 24 14:12:57 PDT 2014
2014-05-24 22:40 GMT+02:00 Martin Landa <landa.martin at gmail.com>:
> done in r60461 (wxGUI error), I have also added note about db.login
> r60462 (trunk only). Ideally the wxGUI dialog should contain
> user/passwd widget to enter the values directly without need to launch
> db.login explicitly. Please feel free to fill enhancement ticket.
related - in r60465-6 I fixed `db.databases` to understand settings
from `db.login`.
$ db.databases dri=pg
DBMI-PostgreSQL driver error:
Unable to connect to Postgres:
fe_sendauth: no password supplied
DBMI-PostgreSQL driver error:
Unable to connect to Postgres:
fe_sendauth: no password supplied
ERROR: Unable to list databases. Try to define correct connection
settings by db.login.
$ db.login dri=pg user=martin pass=xxx
$ db.databases dri=pg
template1
template0
postgres
...
Martin
--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
More information about the grass-dev
mailing list