To access the oracle database from one machine to another (with LAN) - oracle

I installed oracle11g in one machine and also created the database on it.Now I have to access the already created database from another machine(Remote).
Note: In second machine I'm not install anything for oracle.
Both systems are connected with LAN.
I have to install anything for Remote machine(2nd machine)? ( i.e. Instant Client)
Is this possible to connect the oracle database from one machine to another machine?

1) If you want to connect using some third party tool like Toad, SQL Tools etc., then you need to install Oracle Client in 2nd Machine and copy the tnsnames.ora content from your server machine.
2) If you want to use SQL*Plus only, login to the Server machine using SSH or TELNET and then fire sqlplus username/password#database to access oracle.
There can be more options, may be some other person can tell you here.

Related

VM Informatica power centre client to data source connectivity issue in different server

In my Windows virtual machine, one Unix server hosted where Informatica is installed.
I want to connect oracle exadata dB which is present in different server.
I opened firewalls between Unix server to oracle exadata server. While trying to connect from Unix server using SQL client (sqlplus), I am able to connect. But from Informatica client which is present in same windows virtual machine, it is not working.
My doubt is do I need to open firewall from vm window also for client? If so does this mean, for new data source connectivity for informatica client and server we need to treat them separately?

How to connect to external oracle database from BSD

One of my work mates has set up a freenas server for storage (version9.1)
I have created a jail under this running FreeBSD 10.3-STABLE.
I want to create a web server in this jail and need to be able to connect to an external oracle (11g) database. I have the web server working but have been unable to find information on how to connect to an external oracle server from freebsd.
Is this even possible?
I am very new to BSD and Oracle.
The Ports collection contains several oracle clients/odbc drivers etc. in the databases category

How to create local connection in SQL Developer

I only have SQL Developer installed. What other programs do I need to install to create a local database. Please provide links.
SQL Developer is a client that access to a database server to extract data.
You need a database server.
If you operate with SQLDeveloper probably you like to install Oracle. There is a simplified version of Oracle that is called Oracle-XE. Search it over google and download the right version for your operating system.
Give the username and password of the user you created. You can specify localhost in Host name. If you haven't modified the port on which Oracle works then give 1521. If you haven't changed SID as well then give XE. You might be able to connect with DB.

Connecting to Oracle database from another machine on LAN

Am a newbie to oracle, I've Oracle Database installed on my windows machine and I can connect to the database without any problem from my machine using the sqlPlus / SQL Developer. And I have a java application in my machine which needs to connect to the Database using JDBC driver. After downloading the ojdbc driver I can connect to the java application by providing the connection url as jdbc:oracle:thin:#127.0.0.1:1521:orcl
Now, I want to know how can I connect to my oracle database that is installed in my machine (ip address:10.0.xx.xx) from the java application which is running in another machine (ip address:10.0.yy.yy). BTW both the machines are connected in LAN.
Do I need to change anything in listener configuration or in tnsnames.ora file?
I checked these links for reference before posting this question:
How to connect to an Oracle DB from another system
also Cannot access oracle using sqlplus from another machine on the LAN
Please Suggest me how can I do this one. Thanks in advance.
The JDBC url has this form
jdbc:oracle:thin:#HOST:PORT:SID
So if you wanted to connect to an oracle server running on 10.1.2.3, on port 1521 (the default one), and on a database named 'stackoverflowdb' you'd use:
jdbc:oracle:thin:#10.1.2.3:1521:stackoverflowdb

Connecting to remote Oracle database using Oracle Client

I have to connect to a remote Oracle database. Connection will only work with a VPN access to the remote network. I have already setup the VPN, and that is working.
Remote team has passed TNS.ORA settings. I have hardly worked on configuring oracle and neither I am aware of the setup that I need to have on my machine. I just need to run few queries to test the data.
Can somebody guide me on the setup and the configuration I need to have on my windows 7 to connect to a remote Oracle database ?.
My first assumption was to download Oracle client. I downloaded Oracle Insta Client files, but I have no idea how to configure it to connect to a remote database. I couldn't even find any ORA file in the installed files of Insta client.
One you installed the instant client and installed it, you can conect to the remote database by using an easyconnect string. If you are in sqlplus you can do the following:
CONNECT username#[//]host[:port][/service_name][:server][/instance_name]
Lets assume your remote host is remote1 and the service_name is test (This can be retrieved from the tnsnames.ora)
connect username#//remote1/test

Resources