----- Original Message -----
From: Victor <[EMAIL PROTECTED]>
To: Sterin, Ilya <[EMAIL PROTECTED]>
Cc: dbi-users <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 2:25 PM
Subject: Re: Oracle, perl & DBI under debian


(...)>
> Knowing that at office I have Oracle 8 servers under win NT, a
> database I'd like to query, and a client laptop on which I'd like to
> BEGIN to use DBI perl, what client software should I download from the
> above site to have a MINIMAL, just-to-have-a-go-at, working DBI perl
> installation on my laptop?
>
> Could you (or someone else in this ML) be more detailed and specific on
the subject?

You should have the Oracle client software installed on your laptop.
You can find this on the oracle installation CD. The setup program has an
option to install client software only.
Then you need to download DBI and DBD-Oracle from www.cpan.org.
You also need a C compiler (preferrably Visual Studion 6.0 sp4 when working
on windows).
Install DBI first. After that install DBD::Oracle.
If this is too complicated and you can also use Activestate Perl 5.6.
It comes with the Perl Package Manager.
You should have an internet connection.
Type PPM at the Prompt.
Then type install dbi.
After than type install DBD-Oracle.
This will install binary distributions.

To be able to connect to the database usinng SQL*net you should have an
entry in the tnsnames.ora file.
It is located in orahom/network/admin.
There is also a utility program to help you make this entry. Consult your
DBA for more info.

After than you are ready to connect.
There are plenty of examples in the DBD-Oracle documentation.
If you have active state Perl. The documentation is automatically added to
the HTML documentation, which is accessible via START->Activestate
Activeperl->Documentation.

Good luck,

Maarten.


Reply via email to