[GRASS-dev] [GRASS GIS] #2797: db.databases will not connect to postgres database in GRASS 7.0.2RC2 on Win7 and Ubuntu 15.10

GRASS GIS trac at osgeo.org
Tue Dec 1 05:11:49 PST 2015


#2797: db.databases will not connect to postgres database in GRASS 7.0.2RC2 on
Win7 and Ubuntu 15.10
-----------------------+---------------------------------------
  Reporter:  pshapley  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  7.0.3
 Component:  Database  |    Version:  svn-releasebranch70
Resolution:            |   Keywords:  login database connection
       CPU:  x86-64    |   Platform:  MSWindows 7
-----------------------+---------------------------------------

Comment (by harrikoo):

 1. Your command line is incorrect. You write:

 `db.databases location=db.databases driver=pg location=host="###.###.##
 port=5432"`

 and this should be

 `db.databases driver=pg location="host=###.###.## port=5432"`

 Note where the quotations marks are, both the `host` and the `port` must
 be within the quotation marks.

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



More information about the grass-dev mailing list