[GRASS-dev] [GRASS GIS] #3167: db.connect: connection to remote database does not work

GRASS GIS trac at osgeo.org
Mon Sep 26 22:59:48 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:5 mlennert]:
 > The VAR file in the mapset contains this:
 >
 >
 > {{{
 > DB_DRIVER: pg
 > DB_DATABASE: testgrass
 > }}}
 >
 > i.e. no info about the host. Is this normal ?

 Replying to myself: this is when I use db.connect without 'host=' in the
 database string. When I use 'host=', I get:

 DB_DRIVER: pg
 DB_DATABASE: host=myRemoteHost,dbname=testgrass

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3167#comment:6>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list