[GRASS-user] db.connect!?

Salvator*eL*arosa s_larosa at libero.it
Fri Dec 8 18:27:21 EST 2006


Hi at all........

I have a problem with db.connect module...
I'm trying to connect to driver pg, the steps is following:
db.connect driver=pg database=host=debian,dbname=mydb,port=5432
db.login user=postgres pass=*******
db.connect -p
db.tables -p
It get me error:
GRASS 6.2.0 (ditragis):~ > db.connect -p
driver:pg
database:host=debian,dbname=ditragis_db,port=5432
schema:public
group:(null)
GRASS 6.2.0 (ditragis):~ > db.tables -p
DBMI-Postgres driver error:
Cannot connect to Postgres: could not connect to server: Connection refused
        Is the server running on host "debian" and accepting
        TCP/IP connections on port 5432?


GRASS 6.2.0 (ditragis):~ >
I have set up my /etc/profile PATH to /usr/local/pgsql/bin.
Can someone help me?
-- 
View this message in context: http://www.nabble.com/db.connect%21--tf2783749.html#a7767245
Sent from the Grass - Users mailing list archive at Nabble.com.




More information about the grass-user mailing list