EnglishFrenchSpanish

Ad


OnWorks favicon

db.logingrass - Online in the Cloud

Run db.logingrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command db.logingrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


db.login - Sets user/password for DB driver/database.

KEYWORDS


database, connection settings

SYNOPSIS


db.login
db.login --help
db.login [-p] driver=name database=name [user=string] [password=string] [--help]
[--verbose] [--quiet] [--ui]

Flags:
-p
Print connection settings and exit

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
driver=name [required]
Name of database driver
Options: mysql, odbc, sqlite, pg, ogr, dbf
Default: sqlite

database=name [required]
Name of database
Default: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db

user=string
Username to set for DB connection

password=string
Password to set for DB connection

DESCRIPTION


db.login sets login parameters such an user name and optionally also a password for the
connection to the selected database through the DB driver.

NOTE


This command is only related to SQL database backends like PostgreSQL, MySQL or ODBC.

Note that the passwords are stored in a hidden, unencrypted file in the user account,
specifically

· in the ’home’ directory, i.e. $HOME/.grass7/dblogin (Unix-like systems)

· %APPDATA%/GRASS7/dblogin (MS-Windows)
Only the file owner can access this file.

EXAMPLES


Only username specified (assuming locally accessible PostgreSQL DB without password):
db.login driver=pg database=mydb

Username and password specified (note that the command lines history will store the
password in this way):
db.login user=bacava password=secret

Username and empty password specified (note that the command lines history will store the
password in this way):
db.login driver=pg database=mydb user=bacava password=""

Use db.logingrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OpenFOAM
    OpenFOAM
    OpenFOAM - The Open Source CFD Toolbox.
    OpenFOAM is a generic, programmable
    software tool for Computational Fluid
    Dynamics (CFD). For more information,
    see: - ...
    Download OpenFOAM
  • 2
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 3
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • 7
    Old Feren OS Repositories
    Old Feren OS Repositories
    This was the Official Repository for
    Feren OS. To add the latest one, run
    this command: (16.04-based) echo
    "deb ...
    Download Old Feren OS Repositories
  • More »

Linux commands

Ad