Connects a database using the selected driver. Entered parameters are then taken by modules as default values and user doesn't need to enter parameters each time GRASS 5.7 is restarted. Values are stored in a user file ("VAR").
If requested, db.connect can only display current connection parameters (flag -p).

Synopsis: (example)

> db.connect driver=pg database=copert3

For further informations