Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^12: DBI connect to Oracle

by Corion (Patriarch)
on Feb 24, 2015 at 12:34 UTC ( [id://1117649]=note: print w/replies, xml ) Need Help??


in reply to Re^11: DBI connect to Oracle
in thread DBI connect to Oracle

So ODBC doesn't think that a data source does not exist under that name conexao220.

If you are really, really sure that the name should exist, then my next guess is that you created the DSN under Windows 32bit ODBC (C:\Windows\System32\odbcad32.exe) but are using a 64bit Perl, or you created the DSN under Windows 64bit ODBC (C:\Windows\SysWOW64\odbcad32.exe), but are using a 32bit Perl.

I would create two DSNs, conexao220-32 and <c>conexao220-64, using the two different programs and then check using the different Perl versions to find out which one can connect.

Replies are listed 'Best First'.
Re^13: DBI connect to Oracle
by Anonymous Monk on Feb 24, 2015 at 14:17 UTC
    Great. Got my mistake: I was creating "archive data source". The correct is create a "user" or "system data source".

    Now, I have to create a table on mySQL, and I think that I have to use a Federated table, but I donīt know how. Maybe something like:

    create table CEP3 (ID varchar(100) not null, MATRICULA varchar(200)) engine = federated connection = '????';

      I think this is more an Oracle problem than a Perl problem.

        Maybe. But do you know how to create the script to MySQL?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1117649]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found