[GRASS-user] Migrating to a different database engines in Grass 7.0.1RC2
Glynn Clements
glynn at gclements.plus.com
Sun Sep 27 11:54:03 PDT 2015
Paul Shapley wrote:
> I would like to know why and where grass stores old database connection
> parameters set with 'db.connect' and 'db.login'. this is not in the 'VAR'
> file in the PERMANENT directory, I often switch between PostGIS and SQLite
> data but even if i add a new connection it seems to retrieve a three year
> old connection parameter and i dont want to keep having to create a new
> 'mapset' every time i change. Should i go back to 6.4 stable or is there
> another solution?
Login information is kept in $HOME/.grass7/dblogin (Unix) or
%APPDATA%/GRASS7/dblogin (Windows).
Connection information (driver, database, table, key) is stored for
each map, in the file <database>/<location>/<mapset>/vector/<map>/dbln.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list