Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> AW: AW: Oracle 10g for Windows
Hi myself
To answer my own question (maybe somebody else might use that, too):
Getting DBI 1.40 from CPAN plus the DBI::Proxy related modules =
(Storable (I
got 2.07), PlRPC and Net::Daemon and compiling them on cygwin (Perl =
5.8.2)
works.
Get and install ActiveState Perl 5.8.3 (build 809) for Windows.
Then download the DBI 1.40 plus DBD Oracle module for ActiveState 5.8.2 =
from
http://www.cedet.dk/perl/.
Install all the modules using ppm3.
Start the dbiproxy server on windows, using a config file like this:
{
'localport' =3D> 3333, 'pidfile' =3D> 'c:\perl\etc\dbiproxy.pid', 'logfile' =3D> 1, 'debug' =3D> 1, 'mode' =3D> 'single', 'timeout' =3D> 60
Try using the proxy from cygwin with a script like this:
use DBI;
use Data::Dumper;
my ($dbh, $sth, $row);
$user=3D"myuser"; $pwd=3D"mypwd"; $dsn=3D"dbi:Oracle:host=3Dlocalhost;sid=3Dmysid";
$dbh =3D
DBI->connect("dbi:Proxy:hostname=3D127.0.0.1;port=3D3333;dsn=3D$dsn",$us=
er,$pwd,{R
aiseError =3D> 1, PrintError =3D>1}) or die$DBI::errstr;
print "Connected ...\n";
$sth =3D $dbh->prepare('select * from subject where id < 5'); $sth->execute;
while ($row =3D $sth->fetchrow_hashref)
{
print Dumper($row);
}
$sth->finish;
$dbh->disconnect;
I had trouble first with the set username and the disconnect methods, =
but as
soon as both dbi version were 1.40, everything worked.=20
Whoever is interested: Perl Tk800.025 (from CPAN) also works on cygwin. =
That
plus a multiwindow XFree config makes you almost feel like /home ;).
Stefan
-----Urspr=FCngliche Nachricht-----
Von: Stefan Jahnke=20
Gesendet: Wednesday, February 18, 2004 1:14 PM
An: 'oracle-l_at_freelists.org'
Betreff: AW: AW: Oracle 10g for Windows
Hi
If Net::Daemon doesn't work on windows, I'm actually wondering about =
=3D
how to
get dbiproxy to work on windows anyway.
In O'Reilly's DBI programming, the author suggests a setup for =3D
connecting to
a DB running on Windows via Proxy from=3D20
a UNIX machine. Totally doesn't work for me.
Did anybody ever get this to work? Or am I on the wrong list for =3D
questions
like this?
Stefan
-----Urspr=3DFCngliche Nachricht-----
Von: Jared.Still_at_radisys.com [mailto:Jared.Still_at_radisys.com]
Gesendet: Tuesday, February 17, 2004 8:15 PM
An: oracle-l_at_freelists.org
Betreff: Re: AW: Oracle 10g for Windows
I don't believe that Net::Daemon will work under Windoze. The only daemons I have personally created have been via Dave Roth's Win32::Daemon.
These are daemons on that interact with services.exe.
It may be possible to subvert HTTP::Daemon for use as Net::Daemon, but I really don't know.
When I need to interact with something on a Windows system, I tend to do it with this checklist in mind:
If it has to be done on the server, and Perl is the tool of choice, I =
=3D
try
to minimize the number of components.
ie. I don't want to rely on Cygwin.
I will install Perl, and the modules needed to do the job.
I've don't try to setup the Cygwin Perl to use DBD::Oracle, etc.
Instead, I just use the Active State perl when in a Cygwin shell, which I only do from my laptop.
Jared
Stefan Jahnke <Stefan.Jahnke_at_bov.de>
Sent by: oracle-l-bounce_at_freelists.org
02/17/2004 10:32 AM
Please respond to oracle-l
=3D20
To: "'oracle-l_at_freelists.org'" <oracle-l_at_freelists.org> cc:=3D20 Subject: AW: Oracle 10g for Windows
Hi Jared
Since you are the list's official Perl guru:
Speaking of making impossible things possible: Is there a way of getting a DBI::Proxy server=3D3D20 to work under windows using Active State (5.6)? I needed to install Net::Daemon and PlRPC,=3D3D20 but I keep getting Net::Daemon errors reporting=3D3D20 non-implemented methods needed by dbiproxy.
I would like to use that to run perl scripts=3D3D20 that were developed on and for unix to be run=3D3D20 on Cygwin, connecting to a local dbiproxy running=3D3D20 on Win2k (ActiveState Perl).
Any chance?
Stefan
Stefan Jahnke
Consultant
BOV Aktiengesellschaft
Tel.: +49 201/45 13-298
Fax: +49 201/45 13-144
mailto:stefan.jahnke_at_nospam.bov.de
Please remove nospam to contact me via email.
http://www.bov.de
Abonnieren Sie unseren Newsletter: http://www.bov.de/enews
Optimieren Sie durch Portale Ihr taegliches Geschaeft: Wie Anwendungen =
=3D
=3D3D
in
einem dynamischen Prozesskontext Ihre Informationsprozesse deutlich
beschleunigen koennen, erfahren Sie von mailto:martin.ostrowski_at_bov.de
Wie Sie wissen, koennen ueber das Internet versandte E-Mails leicht =
=3D3D
unter
fremden Namen erstellt oder manipuliert werden. Aus diesem Grunde =3D3D
bitten wir
um Verstaendnis dafuer, dass wir zu Ihrem und unserem Schutz die =3D3D
rechtliche
Verbindlichkeit der vorstehenden Erklaerungen und Aeusserungen
ausschliessen.
As you are probably aware, e-mails sent via the Internet can easily be
copied or manipulated by third parties. For this reason we would ask =
=3D
=3D3D
for
your understanding that, for your own protection and ours, we must =
=3D3D
decline
all legal responsibility for the validity of the statements and =3D3D
comments
given above.
-----Urspr=3D3DFCngliche Nachricht-----
Von: Jared Still [mailto:jkstill_at_cybcon.com]
Gesendet: Dienstag, 17. Februar 2004 17:03
An: Oracle-L Freelists
Betreff: RE: Oracle 10g for Windows
Robert,
The point with several of these items is that they=3D3D20 are not provided with the OS.
Re the services: stopping and starting a service will not pick modifications to the environment. It requires a reboot.
As for your comment on Perl: You don't appear to have too much experience with it. Perl makes hard things easy, and impossible things possible. :)
Jared
On Mon, 2004-02-16 at 06:48, Freeman Robert - IL wrote:
> Comments inline ... >=3D3D20 > RF >=3D3D20 > -----Original Message----- >=3D3D20 > >> What I dislike about working with Oracle on Windows: >=3D3D20 > >> * No decent scheduler. Yes there is 'at'. Like I said... > Good point, though this should be less of an issue with the new =3D3DOracle
> bit of functionality much, but what I have played with worked. >=3D3D20 > >> * Installing Perl on win32 with all needed modules has become =3Da=3D3D20
> languages. >=3D3D20 > >> * Why can't MS provide a semi-decent code editor. > >> Yeah, notepad. Right. > and vi or ed is any better??? Granted, once you learn vi, it's prettycool,
> hands down the best editor I've ever used. >=3D3D20 > Anyone remember an editor called EC? Do they still make it? >=3D3D20 > >> * Command line utilities. You think unix/linux is arcane? > Actually, you can do a lot at the command line in NT.... Of course, =
> not too bad.=3D3D20 >=3D3D20 > >> * The fact that an incredibly robust PIPE implementation is built =
> >> with Oracle. > Ok, I agree, this has been an issue with me as well.=3D3D20 >=3D3D20 > >> * The fact that there are still drive letters. > Ahhhh, so what? :-) Drive letters, mount points, who cares?=3D3D20 >=3D3D20 >=3D3D20 > >> * That MS has *finally* got around to offering unix like =3D3Dutilities, but
> were MS though).=3D3D20 >=3D3D20 > >> * That it took until Win23k for MS to design the system to allow > >> different versions of apps to have different versions of DLL's. > >> Lesse, we've been doing this on unix for 30 years or so? > Hey, we all have growing pains! :-) >=3D3D20 > >> * The stupid Oracle home selector that is strictly a GUI. > I have yet to use the Oracle home selector. Of course, I'm an old =
> command line guy.... OEM gives me a rash. >=3D3D20 > >> * That whenever a change in environment is made that needs to be =
> it's stable!) >=3D3D20 > >> Mind you now, Oracle runs just fine on win32. It's maintaining it =
> Windows is that bad. >=3D3D20 > Jared >=3D3D20 >=3D3D20 >=3D3D20 > On Fri, 2004-02-13 at 12:26, Freeman Robert - IL wrote: > > My 2 cents... > >=3D3D20 > > Most of the complaints I see about Oracle on Win here are either: > >=3D3D20 > > 1. By people doing it for the first time, or who rarely do it. > > 2. By people who are doing Oracle for the first time, or rarely do =
> >=3D3D20 > > I actually like Oracle on Win, and I agree with Tom, I've had few > problems > > with it. > >=3D3D20 > > I agree that installing service packs is maddening, but don't most > Unix OS > > upgrades of any great import seem to require a reboot?=3D3D20 > >=3D3D20 > > Robert > >=3D3D20 > >=3D3D20 > > -----Original Message----- > > From: Koivu, Lisa > > To: oracle-l_at_freelists.org > > Sent: 2/13/2004 12:53 PM > > Subject: RE: Oracle 10g for Windows > >=3D3D20 > > Hi Tom,=3D3D3D20 > >=3D3D20 > > Are you kidding? You never have to install service packs and > reboot?=3D3D3D20 > >=3D3D20 > > We run windows 2003 and our "vice president" in IT decided that as =
> > corporate standard we should turn on auto-update and let the boxes > > reboot themselves. Excuse me??=3D3D3D20 > >=3D3D20 > > The more I work on Windows, the more I do not like it. However, =
> in > > the same boat as you. You make do with what you are given when you > are > > not personally paying the bill. > >=3D3D20 > > Lisa Koivu > > Senior Monkey > > Orlando, FL, USA > >=3D3D20 > > -----Original Message----- > > From: Mercadante, Thomas F > > [mailto:thomas.mercadante_at_labor.state.ny.us]=3D3D3D20 > > Sent: Thursday, February 12, 2004 8:58 AM > > To: 'oracle-l_at_freelists.org' > > Subject: RE: Oracle 10g for Windows > >=3D3D20 > > Unfortunately, we have to put up with unrealistic comments like =
> > let > > me repeat it again for those who forget: > >=3D3D20 > > Some of us have no choice in the operating system that we work =
> > And > > some of us are running systems under a Windows environment and are > > perfectly > > happy with how things run, and *never ever* have the "problems" =
> get > > reported here. =3D3D3D20 > >=3D3D20 > > I have windows databases that have been running for 3 years now. > > *Never* > > does the machine crash. And *never* do we reboot "just because we > > should". > >=3D3D20 > > If you experience bad things, then I suggest you take it up with =
> > system > > admin. More than likely, somebody was allowed to treat a database > > server > > like a personal desktop. > >=3D3D20 > > Just my 2 cents. > >=3D3D20 > > Tom Mercadante > > Oracle Certified Professional > >=3D3D20 > >=3D3D20 > > -----Original Message----- > > From: Jamadagni, Rajendra [mailto:Rajendra.Jamadagni_at_espn.com] > > Sent: Thursday, February 12, 2004 8:46 AM > > To: oracle-l_at_freelists.org > > Subject: RE: Oracle 10g for Windows > >=3D3D20 > >=3D3D20 > > Remind me again .. is this oracle-l forum or slashdot ?? > >=3D3D20 > > <g> > >=3D3D20 > > Raj > > > =3D3D ------------------------------------------------------------------------=
> > -=3D3D3D3D > > ------- > > Rajendra dot Jamadagni at nospamespn dot com > > All Views expressed in this email are strictly personal. > > QOTD: Any clod can have facts, having an opinion is an art ! > >=3D3D20 > >=3D3D20 > > -----Original Message----- > > From: oracle-l-bounce_at_freelists.org > > [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of David Sharples > > Sent: Thursday, February 12, 2004 8:44 AM > > To: oracle-l_at_freelists.org > > Subject: RE: Oracle 10g for Windows > >=3D3D20 > >=3D3D20 > > Define dominant? > >=3D3D20 > > The chances of Linux overtaking the average desktop in the world =
> > pretty slim and Linux is not really mature enough to run enterprise > > level stuff - maybe soon it will be. > >=3D3D20 > > Sun and HP are Windows are still more widely used (rightly or =3D3Dwrongly)
> > ---------------------------------------------------------------- > > Please see the official ORACLE-L FAQ: http://www.orafaq.com > > ---------------------------------------------------------------- > > To unsubscribe send email to: oracle-l-request_at_freelists.org > > put 'unsubscribe' in the subject line. > > -- > > Archives are at http://www.freelists.org/archives/oracle-l/ > > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html > > ----------------------------------------------------------------- > > ---------------------------------------------------------------- > > Please see the official ORACLE-L FAQ: http://www.orafaq.com > > ---------------------------------------------------------------- > > To unsubscribe send email to: oracle-l-request_at_freelists.org > > put 'unsubscribe' in the subject line. > > -- > > Archives are at http://www.freelists.org/archives/oracle-l/ > > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html > > -----------------------------------------------------------------> >=3D3D20
> =3D3D3D > > recipient accepts full responsibility for taking proactive and > remedial > > =3D3D3D > > action about viruses and other defects. The sender's business =3D3Dentity
> is > > =3D3D3D > > not liable for any loss or damage arising in any way from this =
> =3D3D3D > > or its attachments." > >=3D3D20 > > ---------------------------------------------------------------- > > Please see the official ORACLE-L FAQ: http://www.orafaq.com > > ---------------------------------------------------------------- > > To unsubscribe send email to: oracle-l-request_at_freelists.org > > put 'unsubscribe' in the subject line. > > -- > > Archives are at http://www.freelists.org/archives/oracle-l/ > > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html > > ----------------------------------------------------------------- > > ---------------------------------------------------------------- > > Please see the official ORACLE-L FAQ: http://www.orafaq.com > > ---------------------------------------------------------------- > > To unsubscribe send email to: oracle-l-request_at_freelists.org > > put 'unsubscribe' in the subject line. > > -- > > Archives are at http://www.freelists.org/archives/oracle-l/ > > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html > > ----------------------------------------------------------------- >=3D3D20 > ---------------------------------------------------------------- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > ---------------------------------------------------------------- > To unsubscribe send email to: oracle-l-request_at_freelists.org > put 'unsubscribe' in the subject line. > -- > Archives are at http://www.freelists.org/archives/oracle-l/ > FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html > ----------------------------------------------------------------- ----------------------------------------------------------------Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Feb 19 2004 - 03:32:52 CST
=3D3D20
---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------
=3D20
---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------
=20
---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------
![]() |
![]() |