[GRASS-dev] db.login with postgresql and non standard port

Moritz Lennert mlennert at club.worldonline.be
Wed Mar 9 08:14:03 PST 2016

On 08/03/16 17:08, Luca Delucchi wrote:
> Hi devs,
> I have a problem using db backend different to SQLite.
> I have a postgresql server running on port 5433, I set up the
> connection like this
> db.connect driver=pg database=grassdata
> db.login user=lucadelu port=5433 host=localhost

I would expect the port parameter to be set in db.connect, not in 
db.login. Have you tried that ? See "PostgreSQL with different port" in 
the db.connect manual.


More information about the grass-dev mailing list