ODBC Connection String

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

ODBC Connection String

Postby doco » Tue Nov 10, 2009 2:25 am

I am attempting to access my poker hands database using a query editor. No connection string I found on the internet google search is working.

Code: Select all
Driver={PostgreSQL};Server=IP address;Port=5432;Database=myDataBase;Uid=myUsername;Pwd=myPassword;


Is an example. I have also created a DSN that tests successful but connect string using DSN will not connect either

Is there a standard? - Ideas?

TIA
doco
 
Posts: 130
Joined: Mon Sep 08, 2008 4:04 am
Location: E. Oregon USA

Re: ODBC Connection String

Postby kraada » Tue Nov 10, 2009 9:21 am

Is there a reason you aren't using PGAdmin which comes with the PosgreSQL package? If you want a graphical manner of creating queries, that will do it for you (it's on your start menu under PostgreSQL 8.3).
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: ODBC Connection String

Postby doco » Tue Nov 10, 2009 10:57 am

I only just downloaded PT3 demo yesterday, I will not purchase until next month - budgets ARGH!. So, I am not familiar with the QBE added to PT3 - I am sure I will become intimate with it eventually though. Having said that, there is no better way to become familiar with ones data than writing script. ;-)
doco
 
Posts: 130
Joined: Mon Sep 08, 2008 4:04 am
Location: E. Oregon USA

Re: ODBC Connection String

Postby doco » Tue Nov 10, 2009 11:06 am

kraada wrote:Is there a reason you aren't using PGAdmin which comes with the PosgreSQL package? If you want a graphical manner of creating queries, that will do it for you (it's on your start menu under PostgreSQL 8.3).


OK, I have now had my morning coffee and re-read the post. It is a wonderful suggestion and has a query editor as well - thanks :oops:
doco
 
Posts: 130
Joined: Mon Sep 08, 2008 4:04 am
Location: E. Oregon USA

Re: ODBC Connection String

Postby kraada » Tue Nov 10, 2009 11:20 am

It's ok, we all have those days sometimes :)
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 26 guests

cron
highfalutin