Opened 9 years ago
Last modified 9 years ago
#2797 closed defect
db.databases will not connect to postgres database in GRASS 7.0.2RC2 on Win7 and Ubuntu 15.10 — at Version 4
Reported by: | pshapley | Owned by: | |
---|---|---|---|
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 )
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 (4)
comment:1 by , 9 years ago
Milestone: | 7.0.2 → 7.0.3 |
---|
comment:2 by , 9 years ago
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.
comment:3 by , 9 years ago
Description: | modified (diff) |
---|
comment:4 by , 9 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed