[GRASS-dev] [GRASS GIS] #3167: db.connect: connection to remote database does not work
GRASS GIS
trac at osgeo.org
Mon Sep 26 07:37:58 PDT 2016
#3167: db.connect: connection to remote database does not work
--------------------------+-----------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.0.5
Component: Database | Version: unspecified
Resolution: | Keywords: postgresql db.connect
CPU: Unspecified | Platform: Unspecified
--------------------------+-----------------------------------
Comment (by mlennert):
Replying to [comment:2 martinl]:
> Replying to [ticket:3167 mlennert]:
> > {{{
> > createdb -h myRemoteServer testgrass
> > grass70 -c /data/GRASS/DATA7/nc_spm_08/postgres_test
> > db.connect driver=pg database="host=myRemoteServer,dbname=testgrass"
> > }}}
>
> did you tried
>
> {{{
> db.connect driver=pg database=testgrass
> db.login driver=pg database=testgrass host=myRemoteServer
> }}}
>
And if this is how it is supposed to be done, then we need to change the
man page.
It just seems a bit redundant to have to indicate driver and database
twice...
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3167#comment:4>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list