pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedVery basic question from a beginner
4+ messages / 4 participants
[nested] [flat]
* Very basic question from a beginner
@ 2012-04-08 14:03 Jean MAURICE <mauricejea@numericable.fr>
2012-04-08 18:17 ` Re: Very basic question from a beginner Adrian Klaver <adrian.klaver@gmail.com>
2012-04-08 18:57 ` Re: Very basic question from a beginner Andreas <maps.on@gmx.net>
2012-04-08 19:44 ` Re: Very basic question from a beginner Jack Wilson <ljwilson@digitalav.com>
0 siblings, 3 replies; 4+ messages in thread
From: Jean MAURICE @ 2012-04-08 14:03 UTC (permalink / raw)
To: pgsql-odbc
HI,
I am very new to PostGreSql and ODBC but an 'expert' in Visual Foxpro. I wanted
to try VFP as a client of PostGres. My laptop is under W7-64. I 'installed' the
ODBC driver via Stack Builder. All things seemed to work well but nothing
appears in th ODBC Sources Manager (I apologize I must guess the english names
from the french ones ...).
What have I missed ?
Thanks in advance.
Best regards
The Foxil
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Very basic question from a beginner
2012-04-08 14:03 Very basic question from a beginner Jean MAURICE <mauricejea@numericable.fr>
@ 2012-04-08 18:17 ` Adrian Klaver <adrian.klaver@gmail.com>
2 siblings, 0 replies; 4+ messages in thread
From: Adrian Klaver @ 2012-04-08 18:17 UTC (permalink / raw)
To: mauricejea@numericable.fr; +Cc: pgsql-odbc
On 04/08/2012 07:03 AM, Jean MAURICE wrote:
> HI,
>
> I am very new to PostGreSql and ODBC but an 'expert' in Visual Foxpro. I
> wanted to try VFP as a client of PostGres. My laptop is under W7-64. I
> 'installed' the ODBC driver via Stack Builder. All things seemed to work
> well but nothing appears in th ODBC Sources Manager (I apologize I must
> guess the english names from the french ones ...).
>
> What have I missed ?
In my experience the ODBC driver is found under the Drivers tab in the
ODBC Data Source Administrator. To make it available you create a DSN
under either the User DSN or System DSN tab, where the data source is
available either to the user that created it or to the system,
respectively. This assumes you have the appropriate user privileges. The
DSN creation process allows you to choose the correct driver from those
listed in the Drivers tab.
>
> Thanks in advance.
> Best regards
> The Foxil
>
--
Adrian Klaver
adrian.klaver@gmail.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Very basic question from a beginner
2012-04-08 14:03 Very basic question from a beginner Jean MAURICE <mauricejea@numericable.fr>
@ 2012-04-08 18:57 ` Andreas <maps.on@gmx.net>
2 siblings, 0 replies; 4+ messages in thread
From: Andreas @ 2012-04-08 18:57 UTC (permalink / raw)
To: pgsql-odbc
Am 08.04.2012 16:03, schrieb Jean MAURICE:
>
> I am very new to PostGreSql and ODBC but an 'expert' in Visual Foxpro.
> I wanted to try VFP as a client of PostGres. My laptop is under W7-64.
> I 'installed' the ODBC driver via Stack Builder. All things seemed to
> work well but nothing appears in th ODBC Sources Manager (I apologize
> I must guess the english names from the french ones ...).
>
> What have I missed ?
As Adrian explained you would see defined Datasources (DSN) in the
Source Manager.
In such a DSN is all the information needed to reach a database.
So you create a DSN "my data" and describe there what driver to use,
host-address, db-name, user, password ...
Later in VFP you should be able to select one of the defined DSNs and
VFP knows all neccesary details.
BTW there are 3 types of DSN.
File based ... there is a textfile somewhere that holds the informations.
System DSN ... the admin defines a DSN that all users of the system can
access.
User DSN ... the user defines a DSN that only he himself can access.
Probaply you might be interested to figure out how you can access the
db-host without a pre defined DSN.
You can stuff all the details into a connection string and use this
instead of a DSN.
Basically that should be the same as what the DSN-Manager is doing for you.
The advantage is that you don't need access to the DSN-Manager on the
client system like when you give someone else an application. That way
he doesn't have to create a DSN or you don't need some fancy installer
that does it for him.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Very basic question from a beginner
2012-04-08 14:03 Very basic question from a beginner Jean MAURICE <mauricejea@numericable.fr>
@ 2012-04-08 19:44 ` Jack Wilson <ljwilson@digitalav.com>
2 siblings, 0 replies; 4+ messages in thread
From: Jack Wilson @ 2012-04-08 19:44 UTC (permalink / raw)
To: pgsql-odbc; pgsql-odbc-owner@postgresql.org
Jean,
Also keep in mind that if you installed the 32-bit ODBC drivers on your
64-bit Windows 7 Machine, you need to use the 32-bit version of ODBC
Administrator to view the DSN's.
For example, on my Windows 7 Box I create a shortcut to:
C:\Windows\SysWOW64\odbcad32.exe
...jack
From: Jean MAURICE <mauricejea@numericable.fr>
To: pgsql-odbc@postgresql.org,
Date: 04/08/2012 12:13 PM
Subject: Very basic question from a beginner
Sent by: pgsql-odbc-owner@postgresql.org
HI,
I am very new to PostGreSql and ODBC but an 'expert' in Visual Foxpro. I
wanted
to try VFP as a client of PostGres. My laptop is under W7-64. I
'installed' the
ODBC driver via Stack Builder. All things seemed to work well but nothing
appears in th ODBC Sources Manager (I apologize I must guess the english
names
from the french ones ...).
What have I missed ?
Thanks in advance.
Best regards
The Foxil
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2012-04-08 19:44 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-04-08 14:03 Very basic question from a beginner Jean MAURICE <mauricejea@numericable.fr>
2012-04-08 18:17 ` Adrian Klaver <adrian.klaver@gmail.com>
2012-04-08 18:57 ` Andreas <maps.on@gmx.net>
2012-04-08 19:44 ` Jack Wilson <ljwilson@digitalav.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox