Skip site navigation (1) Skip section navigation (2)

Re: first time odbc

From: "jsilberberg(at)mindspring(dot)com" <jsilberberg(at)mindspring(dot)com>
To: Marc Fromm <Marc(dot)Fromm(at)wwu(dot)edu>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: first time odbc
Date: 2011-03-29 18:12:40
Message-ID: 29054973.1301422360902.JavaMail.root@elwamui-little.atl.sa.earthlink.net (view raw or flat)
Thread:
Lists: pgsql-odbc
<HEAD>
<STYLE>body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}</STYLE>

<META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD>
<BODY>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif></FONT></FONT></FONT>&nbsp;</P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>Why, </FONT></FONT></FONT></P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif></FONT></FONT></FONT>&nbsp;</P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>&nbsp;&nbsp;&nbsp; That's a vintage 02-Feb-2006 driver.</FONT></FONT></FONT></P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif></FONT></FONT></FONT>&nbsp;</P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>&nbsp;&nbsp;&nbsp;&nbsp; I use 8.04 from Dec-2009 and even that's getting a little stale.&nbsp; Why not try the 9.n drivers.</FONT></FONT></FONT></P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif></FONT></FONT></FONT>&nbsp;</P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Could the port(s) be blocked / restricted between you and the server and is PostgreSQL SSL support enabled -- </FONT></FONT></FONT></P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.postgresql.org/docs/9.0/static/ssl-tcp.html">http://www.postgresql.org/docs/9.0/static/ssl-tcp.html</A></FONT></FONT></FONT></P>
<P>&nbsp;</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JMS</P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif></FONT></FONT></FONT>&nbsp;</P>
<P><FONT color=#000000><FONT size=2><FONT face=arial,sans-serif>&nbsp;&nbsp;&nbsp;&nbsp;-----------------------------------</P>
<P><BR></P></FONT></FONT></FONT>
<BLOCKQUOTE style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 0px">-----Original Message----- <BR>From: Marc Fromm <MARC(dot)FROMM(at)WWU(dot)EDU><BR>Sent: Mar 29, 2011 1:58 PM <BR>To: "pgsql-odbc(at)postgresql(dot)org" <PGSQL-ODBC(at)POSTGRESQL(dot)ORG><BR>Subject: [ODBC] first time odbc <BR><BR><?XML:NAMESPACE PREFIX = [default] http://www.w3.org/TR/REC-html40 NS = "http://www.w3.org/TR/REC-html40" /><ZZZhtml xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml"><ZZZhead><ZZZmeta content="text/html; charset=us-ascii" http-equiv="Content-Type"><ZZZmeta content="Microsoft Word 14 (filtered medium)" name="Generator">
<STYLE><ZZZ!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:ZZZlink, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></STYLE>
<ZZZ!--[if 9] mso gte><xml><?xml:namespace prefix = o /><o:shapedefaults spidmax="1026" v:ext="edit"></o:shapedefaults></xml><ZZZ![endif]--><ZZZ!--[if 9] mso gte><xml><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1"></o:idmap></o:shapelayout></xml><ZZZ![endif]--></ZZZhead><ZZZbody lang=EN-US vlink="purple" link="blue">
<DIV class=WordSection1>
<P class=MsoNormal>Before learning there was an odbc list, I sent this post to the admin list.<o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal>I am running postgres on a red hat linux server.<o:p></o:p></P>
<P class=MsoNormal>postgresql-python-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-test-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-libs-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-docs-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-contrib-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-pl-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal><B>postgresql-odbc-08.01.0200-3.1<o:p></o:p></B></P>
<P class=MsoNormal>postgresql-jdbc-8.1.407-1jpp.4<o:p></o:p></P>
<P class=MsoNormal>postgresql-server-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal>postgresql-tcl-8.1.23-1.el5_6.1<o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal>User on windows computers would like to odbc to the postgres databases.<o:p></o:p></P>
<P class=MsoNormal>I downloaded the windows postgres odbc drivers from the following site and installed version “psqlodbc-08_01_0200” on the windows computer.<o:p></o:p></P>
<P class=MsoNormal><A href="http://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/msi/" target=_blank>http://ftp9.us.postgresql.org/pub/mirrors/postgresql/odbc/versions/msi/</A><o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal>When I configure a “File Data Source” connection in access, I cannot connect to the postgresql database. I get the message, “A connection could not be made using the file data source parameters entered. Save non-verified file DSN?”<o:p></o:p></P>
<P class=MsoNormal>The parameters entered are:<o:p></o:p></P>
<P class=MsoNormal>Database: database_name<o:p></o:p></P>
<P class=MsoNormal>Server: I entered the IP address of the server<o:p></o:p></P>
<P class=MsoNormal>User Name: I entered postgres<o:p></o:p></P>
<P class=MsoNormal>Password:<o:p></o:p></P>
<P class=MsoNormal>SSL Mode: prefer<o:p></o:p></P>
<P class=MsoNormal>Port: 5432 (which is the port used by postgres)<o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal>Do I need to configure the /etc/odbc.ini file? It is currently just a blank file.<o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal>Thanks for any help.<o:p></o:p></P>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt">Marc</SPAN><o:p></o:p></P></DIV></ZZZbody></ZZZhtml></BLOCKQUOTE></ZZZ![endif]--></ZZZ!--[if></ZZZ![endif]--></ZZZ!--[if></ZZZmeta></ZZZmeta></BODY>


Attachment: unknown_filename
Description: text/html (6.4 KB)

Responses

pgsql-odbc by date

Next:From: Rob RichardsonDate: 2011-03-29 18:58:22
Subject: Re: first time odbc
Previous:From: Marc FrommDate: 2011-03-29 17:58:59
Subject: first time odbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group