ОПИСАНИЕ

db.login sets user/password for driver/database.

ПРИМЕЧАНИЕ

This is only related to SQL database backends (PostgreSQL, MySQL etc). The passwords are stored in a hidden file in the user account ('home' directory) called .grasslogin6. Only the file owner can access this file.

ПРИМЕРЫ

Example 1: Username specified, password will be invisibly queried interactively:
db.login user=bacava

Example 2: Username and password specified (note that the command lines history will store the password in this way):

db.login user=bacava pass=secret

Example 3: Username and empty password specified (note that the command lines history will store the password in this way):

db.login user=bacava pass=""

СМ. ТАКЖЕ

db.connect, db.test

АВТОР

Radim Blazek

Last changed: $Date: 2007-11-29 07:21:10 -0600 (Чт, 29 ноя 2007) $

Автор перевода