SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Help to connect a PostGress database

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Help to connect a PostGress database
Author Message
Janus S. Andersen



Joined: 09 Jun 2010
Posts: 5
Country: Denmark

Post Help to connect a PostGress database Reply with quote
Hi
I have a PostGres database and use it in pgAdmin III 1.10. I am trying to add me SQL Assistant to this program. I can connect to my PostGres database in the pgAdmin but the SQL Assistant connect can`t connect to my database.

The error is
"
5433
Connect: ODBC Error (0): SQLDriverConnect
Client: Client:
Server: Server:
[Micros [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

;Serve ;Server=dkcphsqlfg03;Port=5433;Database=jordweb_test
jordwe jordweb_test;Uid=jordweb_test;Pwd=************;Connect_timeout=10;


OK
"
I have also tryed all the ADO.NET provideres but it is not working. Pls. help my out here

Best Regaards
Janus S. Andersen
Wed Jun 09, 2010 5:17 pm View user's profile Send private message Send e-mail
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
It looks like the connect string contains extra characters. Is that just in the post or in the connection settings too

;Serve ;Server=dkcphsqlfg03;Port=5433;Database=jordweb_test
jordwe jordweb_test;Uid=jordweb_test;Pwd=************;Connect_timeout=10;
Wed Jun 09, 2010 5:26 pm View user's profile Send private message
Janus S. Andersen



Joined: 09 Jun 2010
Posts: 5
Country: Denmark

Post Reply with quote
It was in the post. Sorry.

My connecting string is like
;
Server=dkcphsqlfg03;
Port=5433;
Database=jordweb_test
jordweb_test;
Uid=jordweb_test;
Pwd=*;

I just change the Password to *




Wed Jun 09, 2010 5:37 pm View user's profile Send private message Send e-mail
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
It seems that you are missing DSN/Driver name, should be set to "Driver={PostgreSQL ANSI}" Of course the ODBC driver should be available on your system. In case you don't already have it, you can get a copy here http://psqlodbc.projects.postgresql.org/



Wed Jun 09, 2010 7:10 pm View user's profile Send private message
Janus S. Andersen



Joined: 09 Jun 2010
Posts: 5
Country: Denmark

Post Reply with quote
The link is not working. I am missing the DSN that is true.

Pls. help me to make this.
Wed Jun 09, 2010 7:19 pm View user's profile Send private message Send e-mail
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Which link is not working? Did you mean the download link for Postgres ODBC driver? If you need that specific link, you can try this one https://www.enterprisedb.com/getfile.jsp?fileid=1190


Also, if you have a working ODBC connection and it appears in ODBC administrator tool, you can select it in DSN/Driver drop-down, instead of the driver name. That should work too.
Wed Jun 09, 2010 11:08 pm View user's profile Send private message
Janus S. Andersen



Joined: 09 Jun 2010
Posts: 5
Country: Denmark

Post Reply with quote
Thanks this link is working fine.

I will try to install the software and give a feedback.
Thu Jun 10, 2010 3:46 am View user's profile Send private message Send e-mail
Janus S. Andersen



Joined: 09 Jun 2010
Posts: 5
Country: Denmark

Post Reply with quote
Hi
I tryed downloading the software from your URL but it was not working for me. I fund this URL http://www.postgresql.org/ftp/odbc/versions/msi/ with the software I needet and I am useing this.

Thanks for all your help.

Take care.
Thu Jun 10, 2010 7:56 pm View user's profile Send private message Send e-mail
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.