~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to db/db.login/db.login.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h2>DESCRIPTION</h2>
 
2
 
 
3
<em>db.login</em> sets the user name and optionally also a password for
 
4
the connection to the selected <b>database</b> through the DB <b>driver</b>.
 
5
 
 
6
<h2>NOTE</h2>
 
7
 
 
8
This is only related to SQL database backends
 
9
like <a href="grass-pg.html">PostgreSQL</a>, <a href="grass-mysql.html">MySQL</a>
 
10
or <a href="grass-odbc.html">ODBC</a>. The passwords are stored in a
 
11
hidden, unencrypted file in the user account ('home' directory)
 
12
called <em>.grass7/dblogin</em>. Only the file owner can access this
 
13
file.
 
14
 
 
15
<h2>EXAMPLES</h2>
 
16
 
 
17
Only username specified:
 
18
 
 
19
<div class="code"><pre>
 
20
db.login user=bacava
 
21
</pre></div>
 
22
 
 
23
<p>
 
24
Username and password specified (note that the command
 
25
lines history will store the password in this way):
 
26
 
 
27
<div class="code"><pre>
 
28
db.login user=bacava password=secret
 
29
</pre></div>
 
30
 
 
31
<p>
 
32
Username and empty password specified (note that the command
 
33
lines history will store the password in this way):
 
34
 
 
35
<div class="code"><pre>
 
36
db.login user=bacava password=""
 
37
</pre></div>
 
38
 
 
39
<h2>SEE ALSO</h2>
 
40
 
 
41
<em>
 
42
<a href="db.connect.html">db.connect</a>,
 
43
<a href="db.test.html">db.test</a>
 
44
</em>
 
45
 
 
46
<p>
 
47
<a href="sql.html">SQL support in GRASS GIS</a>
 
48
 
 
49
<h2>AUTHOR</h2>
 
50
 
 
51
Radim Blazek
 
52
 
 
53
<p>
 
54
<i>Last changed: $Date: 2014-11-28 10:58:18 +0100 (Fri, 28 Nov 2014) $</i>