Opened 6 years ago

Closed 6 years ago

#2797 closed defect (invalid)

db.databases will not connect to postgres database in GRASS 7.0.2RC2 on Win7 and Ubuntu 15.10

Reported by: pshapley Owned by: grass-dev@…
Priority: normal Milestone: 7.0.3
Component: Database Version: svn-releasebranch70
Keywords: login database connection Cc:
CPU: x86-64 Platform: MSWindows 7

Description (last modified by neteler)

If i try to 'link external vector data' to a postgres driver i get the following:-

db.databases location=db.databases driver=pg location=host="###.###.## port=5432"
DBMI-PostgreSQL driver error:
Unknown option in database definition for PostgreSQL:
db.databases driver=pg location=host="###.###.## port=5432"
DBMI-PostgreSQL driver error:
Unknown option in database definition for PostgreSQL:
db.databases driver=pg location=host="###.###.## port=5432"
ERROR: Unable to list databases. Try to define correct connection settings by db.login.

Change History (5)

comment:1 Changed 6 years ago by neteler

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:2 Changed 6 years ago by harrikoo

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.

Last edited 6 years ago by harrikoo (previous) (diff)

comment:3 Changed 6 years ago by neteler

Description: modified (diff)

comment:4 Changed 6 years ago by neteler

Description: modified (diff)

comment:5 Changed 6 years ago by neteler

Resolution: invalid
Status: newclosed

Closing due to user error. Feel free to reopen otherwise.

Note: See TracTickets for help on using tickets.