|
NAMEdb.login - Sets user/password for DB driver/database. KEYWORDSdatabase, connection settings SYNOPSISdb.login
Flags:Parameters:
DESCRIPTIONdb.login sets login parameters such an user name and optionally also a password, a hostname or a port for the connection to the selected database through the DB driver. NOTEOptions host and port are related to only SQL database backends like PostgreSQL, MySQL or ODBC. Note that the passwords are stored in a hidden, unencrypted file in the user account, specifically
EXAMPLESOnly username specified (assuming locally accessible PostgreSQL DB
without password):
db.login driver=pg database=mydb Username, password and hostname specified (note that the command
lines history will store the password in this way):
db.login driver=pg database=mydb user=bacava password=secret host=db.example.com Username and empty password specified:
db.login driver=pg database=mydb user=bacava password="" SEE ALSOdb.connect, db.test, db.tables SQL support in GRASS GIS AUTHORRadim Blazek
SOURCE CODEAvailable at: db.login source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Database index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|