http://www.perlmonks.org?node_id=925157


in reply to Re: How to connect Oracle DB in Linux Env.
in thread How to connect Oracle DB in Linux Env.

Hi Generoso, I tried the above code also but getting the same error of need explicit attach. I used SID = 'ORCL', DB port = 1521 and for host i used the IP address of Linux machine where DB is deployed, (machine which i want to connect). Please let me know other possible solutions.

  • Comment on Re^2: How to connect Oracle DB in Linux Env.

Replies are listed 'Best First'.
Re^3: How to connect Oracle DB in Linux Env.
by Generoso (Prior) on Sep 11, 2011 at 04:46 UTC

    Have you tried to connect to the database via sqldeveloper form ORACLE it is free; you can downloaded and install it and set up a connection and test if the connecting parameters are the correct ones.

    Have not work with it on UNIX only in windows and is a good tool to debug your sql before you use it on a program or perl script