[GRASS-dev] [GRASS GIS] #3167: db.connect: connection to remote database does not work
GRASS GIS
trac at osgeo.org
Wed Sep 28 06:41:09 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:15 mlennert]:
> Replying to [comment:14 martinl]:
> > Replying to [comment:11 mlennert]:
> > > I've attached a proof-of-concept patch that solves the problem for
me, but it hardcodes the number of tokens. I don't know what forms login
strings can potentially take, so this definitely needs to be revised to
take into account different scenarios.
> >
> > Please review attachment:dbmi_base_login2.diff
>
> Seems to work nicely, and much more elegant than my hack, thanks !
P.S. Someone should probably check for mysql or other db backends, or ?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3167#comment:17>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list