<div dir="ltr"><br><br>On Wed, Nov 7, 2018 at 4:51 PM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br>><br>> On Wed, 7 Nov 2018, Markus Metz wrote:<br>><br>> > v.db.connect sets the table and database connection for a given, existing<br>> > vector. The default database connection can be overridden with the driver=<br>> > and database= options<br>><br>>    I reset the attribute database to the sqlite default with 'db.connect<br>> driver=sqlite database=mercury' and that's the database shown in<br><div>> response to db.connect -p:</div><div><br></div><div>for sqlite, the database must be a path to a sqlite database, in your case, as you used yourself before:</div><div><br></div><div>database="$HOME/data/grassdata/willamette_basin/mercury/sqlite/sqlite.db"</div><div><br></div><div>Markus M<br></div>><br>> > db.connect -p<br>> driver: sqlite<br>> database: mercury<br>><br>>    The next step in the example is to list the tables:<br>> > db.tables -p<br>> DBMI-SQLite driver error:<br>> Unable to open database: mercury<br>> unable to open database file<br>><br>> DBMI-SQLite driver error:<br>> Unable to open database: mercury<br>> unable to open database file<br>><br>> ERROR: Unable to open database <mercury><br>><br>>    What error have I made here?<br>><br>> Rich<br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>