Opened 15 years ago
Closed 15 years ago
#920 closed defect (invalid)
db.tables is unable to open database in Grass 6.5 using sqlite
Reported by: | epatton | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.5.0 |
Component: | Database | Version: | svn-develbranch6 |
Keywords: | sqlite | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
db.tables gives an error when I try to print a list of tables in my current Location:
db.connect -p driver:sqlite database:/home/epatton/Projects/Canso/PERMANENT/databases/Canso.db schema: group: db.tables -p DBMI-SQLite driver error: Unable to open database: unable to open database file ERROR: Unable to open database </home/epatton/Projects/Canso/PERMANENT/databases/Canso.db>
The directory where my database is located is readable, writable, and owned by me. I can also browse the database in question using sqlitebrowser with no problems; I just can't access it through Grass.
Am I overlooking something simple?
~ Eric.
Change History (2)
comment:1 by , 15 years ago
Keywords: | sqlite added |
---|
comment:2 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Thanks for the clue! The problem was that my Grass location 'Canso' was transferred from another computer, and I am now working with it on my laptop; however, my username on the other PC is 'epatton', whereas it is 'eric' on the laptop, and the database connection was looking for epatton.
Thanks!
~ Eric.
Just for paranoia (copy-paste):
?
and how about
? (leave with CTRL-D).
and then
(perhaps SQLite support missing?)
Markus