I am using ‘db.connect’ to get access to a sqlite database. I have renamed the database extension from ‘.sqlite’ to ‘.db’ and placed it in the ‘PERMANENT’ directory but not entirely sure if i’ve correctly set this sqlite access up correctly. When i use ‘db.test’ i get the following error.
Unable to open database: unable to open database file
ERROR: Unable to open database <‘/home/username/dtm_location/PERMANENT/gisdata.db’>
ERROR: EXECUTE: ******** ERROR ********
I’m sure i’m probably making some simple errors in the configuration somewhere. Can anyone help with setup?
On Fri, Jan 31, 2014 at 10:43 PM, Paul Shapley <p.shapley@gmail.com> wrote:
Hi,
I am using 'db.connect' to get access to a sqlite database. I have renamed
the database extension from '.sqlite' to '.db' and placed it in the
'PERMANENT' directory but not entirely sure if i've correctly set this
sqlite access up correctly.
Did you do the connection setting as outlined in the manual?
v.db.connect -p vectormap
will show to which DB it is connected. I suspect that this link is
outdated (set with the same command, see manual for examples).