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?
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.