From: | Michael Ansley <Michael(dot)Ansley(at)intec-telecom-systems(dot)com> |
---|---|
To: | "'Kristoffer Hoffe Bergqvist'" <hoffe(at)hoffe(dot)com>, pgsql-general(at)postgreSQL(dot)org |
Subject: | RE: DSN-less connection to Postgres-database |
Date: | 2001-02-15 15:54:07 |
Message-ID: | 7F124BC48D56D411812500D0B747251480F41D@FILESERVER002 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
You probably want to change that HOST= to SERVER=, don't add the port on the
end of the hostname, rather use PORT=, and change the PASSWORD= to PWD=, and
get rid of the superfluous semi-colon.
Let me know...
MikeA
-----Original Message-----
From: Kristoffer Hoffe Bergqvist [mailto:hoffe(at)hoffe(dot)com]
Sent: 15 February 2001 15:07
To: pgsql-general(at)postgreSQL(dot)org
Subject: [GENERAL] DSN-less connection to Postgres-database
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
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
Nick West - Global Infrastructure Manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2001-02-15 15:57:44 | Re: ALTER TABLE speed (adding foreign keys) |
Previous Message | Tom Lane | 2001-02-15 15:35:58 | Re: Re: temp table creation |