.TH db.login 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBdb.login\fR\fR - Sets user/password for driver/database. .SH KEYWORDS database, connection settings .SH SYNOPSIS \fBdb.login\fR .br \fBdb.login help\fR .br \fBdb.login driver\fR=\fIname\fR \fBdatabase\fR=\fIname\fR [\fBuser\fR=\fIstring\fR] [\fBpassword\fR=\fIstring\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Parameters: .IP "\fBdriver\fR=\fIname\fR" 4m .br Driver name .br Options: \fIpg,dbf,ogr,odbc,mysql,sqlite\fR .br Default: \fIdbf\fR .IP "\fBdatabase\fR=\fIname\fR" 4m .br Database name .br Default: \fI$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/\fR .IP "\fBuser\fR=\fIstring\fR" 4m .br Username .IP "\fBpassword\fR=\fIstring\fR" 4m .br Password .PP .SH DESCRIPTION \fIdb.login\fR sets the user name and optionally also a password for the connection to the selected \fBdatabase\fR through the DB \fBdriver\fR. .SH NOTE This is only related to SQL database backends like MySQL or ODBC. The passwords are stored in a hidden unencrypted file in the user account ('home' directory) called \fI.grasslogin64\fR. Only the file owner can access this file. .SH EXAMPLES Only username specified (password will be interactively queried to remain invisible): \fC .DS .br db.login user=bacava .br .DE \fR .PP Username and password specified (note that the command lines history will store the password in this way): \fC .DS .br db.login user=bacava password=secret .br .DE \fR .PP Username and empty password specified (note that the command lines history will store the password in this way): \fC .DS .br db.login user=bacava password="" .br .DE \fR .SH SEE ALSO \fI db.connect, db.test \fR .PP SQL support in GRASS GIS .SH AUTHOR Radim Blazek .PP \fILast changed: $Date: 2014-02-01 17:15:32 +0100 (Sat, 01 Feb 2014) $\fR .PP Full index .PP © 2003-2014 GRASS Development Team