[GRASS-user] Problem with driver pg
Markus Neteler
neteler at osgeo.org
Sun Mar 1 13:57:16 EST 2009
On Sat, Feb 28, 2009 at 1:03 PM, Thybério Luna Freire
<thyberio at gmail.com> wrote:
> Hi,
> i'm Linux user, but now i installed GRASS in my windows XP.
> I never have problems with connections to postgis when i'm using GRASS in my
> Ubuntu, but i simply can't connect to postgre/postgis on Windows.
> I have the follow message:
>
> BMI-Postgres driver error:
Note for developers: It should read DBMI
cd db/
grep BMI-Postgres */*/*
drivers/postgres/error.c: db_set_string(errMsg, "DBMI-Postgres
driver error:\n");
Several users reported "BMI-Postgres" - what's eating the
first character?
> Unknown option in database definition for PostgreSQL: "host=localhost
> Unable to open database <"host=localhost,dbname=postgres">
>
> It works perfectly when i'm using kosmo GIS or gvSIG, but it doesn't work
> with GRASS. Why??
>
> dbname: postgres
> user: thyberio
> pass: *******
> schema: public
> port: 5432
Please post the result of
db.connect -p
Did you use db.login?
Markus
More information about the grass-user
mailing list