Hi Monks,

Iīm just starting in Perl, so I donīt any experience how to develop and how is the flow of the code.

What Iīm trying to do is: Connect my MySQL database to an Oracle database.

I need to do a SELECT from MySQL and get the data from Oracle.

I find a tutorial that shows that this is possible: http://ftp.nchu.edu.tw/MySQL/tech-resources/articles/dbixmyserver.html

But, as I said, I donīt have experience how to develop. So, I have in my Windows machine the following:

a) padre-on-strawberry

b) DBD-Oracle-1.74.tar.gz

c) ActivePerl-5.20.1.2000-MSWin32-x86

d) DBI-1.633.tar

e) DBD-mysql-4.029.tar.gz (this, i cannot install. Got the error: mysqladmin.exe was not found in your PATH).

What I think that I have to do now, is to configure the proxy. I tried to open Padre, paste this code: use DBI

$dbh = DBI->connect('dbi:Oracle:host=172.16.90.220;sid=WEBDB;port=1521 +', 'CEP', 'a423pa');

and run the Script, but I got the error: "No execution mode was defined for this doecument type:text/plain"


In reply to DBI connect to Oracle by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.