DSN-less connection to Postgres-database
Kristoffer Hoffe Bergqvist <hoffe@hoffe.com>
From: "Kristoffer Hoffe Bergqvist" <hoffe@hoffe.com>
To: <pgsql-general@postgreSQL.org>
Date: 2001-02-15T15:06:40Z
Lists: pgsql-general
Hi all!
I'd like to set up a DNS-less connection from ASP to a PostgreSQL-server.
What I'm looking for is a connectionstring looking something like this:
db.Open("driver=PostgreSQL};host=www.host.com:666;database=name;UID=me;Passw
ord=;pass")
But the one above (obviously, since I'm writing this mail) doesn't work.
Please if anyone know how to solve this, drop a line.
Thanks in advance!
Cheers
/Hoffe