<DIV id=RTEContent>Hi, All</DIV> <DIV>please help in solving the Database connectivity problems in GRASS</DIV> <DIV> </DIV> <DIV><STRONG>v.db.connect</STRONG></DIV> <DIV>Problem: 1. While connecting a table ('ap') created in database ('geodata) PostgreSQL with a vector map in GRASS</DIV> <DIV> </DIV> <DIV>The errors are :</DIV> <DIV>a. Cannot connect to Postgres: FATAL: dabase "$computer/geodata/geodata/pg/" does not exist</DIV> <DIV>b. Cannot open database "$computer/geodata/geodata/pg/" by driver 'pg'</DIV> <DIV> </DIV> <DIV>c. The table <ap> does not exist as database /$computer/geodata/geodata/pg/" </DIV> <DIV> </DIV> <DIV> </DIV> <DIV><STRONG>db.connect</STRONG></DIV> <DIV>db.connect driver=pg database=$GISDBASE/$LOCATION_NAME/$MAPSET/pg group=geodata</DIV> <DIV> </DIV> <DIV>after the selection of driver 'pg' with the above step, while creating table in v.digit </DIV> <DIV> </DIV> <DIV>the!
errors
are:</DIV> <DIV>a. Cannot open database "$GISDBASE/$LOCATION_NAME/$MAPSET/pg" by driver</DIV> <DIV> by driver pgDBMI-postgres driver </DIV> <DIV> b. cannot connect to postgres: FATAL : database</DIV> <DIV> "//home/geodata/GrassDataAp/apll/rtc/pg" does not exist.</DIV> <DIV><STRONG>Ravi Kumar</STRONG></DIV><p>
                <hr size=1>Yahoo! Photos<br>
Ring in the New Year with <a href="http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=">Photo Calendars</a>. Add photos, events, holidays, whatever.