i connect using sql developer on VM Oracle Linux to my db oracle, that is on the VM too. The setting is that:
enter image description here
i try to connect the db using sql developer on windows with the same settings but it not work. What i have to do?
Related
On Windows Server 2012 R2, I have Oracle 11G and Oracle 12C installed.
Everyting is working as needed, I am able to use SQL Developer to connect to individual instances.
However, in addition to using SQL Developer, I need to use SQL Plus.
How do I specify which Instance to connect to using commands?
In the TNS file, each instance is on a separate port and has a different SID but uses the same IP.
Thanks
you can always
connect user/password#server:port/SID|SERVICE
I've installed Oracle client in my machine, when I'm trying to connect to the oracle database server from Oracle SQL Developer am getting the following error:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
But am able to connect to the server using sql plus and TOAD as well from my machine. What is the issue if Toad connects to the server why cant my Oracle sql developer could not connect??
checked all the possible solutions like:
tns strings checking, telnet to the server and its port,
changing the oracle home in the sqldeveloper->tools->preferences->database->advanced tab.
None solved my issue. Is this the firewall issue?
If it is so how am able to connect using TOAD/sql plus ??
UPDATE: I'm connecting to the Oracle database server using the VPN.
Any help is much appreciated.
Thanks in advance.
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
This is a two-part question. I have installed an Oracle 11g Personal Edition Server on a Windows Server 2008 VM. During the installation I chose the option to install a database as well (sample/blank database?).
Now, on the VM, I can launch the Oracle Enterprise Manager Console at localhost port 1158, login as either SYSMAN or SYSTEM and in that I can see: 'Database Instance': orcl.127.55.199 . I can also see 'OracleOraDb11g_home1TNSListener' in the Services control panel in running state.
1) I need to be able to create a new Schema in the default database. How do I do that using the Oracle Enterprise Manager or anything else?
2) How can connect to that schema from another computer, say a Windows 7 workstation? I am able to see the VM running the Oracle server and I am even able to make a connection but I get an error like '12541 no listener'. I am pretty sure I have the Oracle client software installed. Do I need to create a TNS file? I am using Direct Connection.
Thanks!
Never mind:
I got this all to work. Here are some brief notes:
1) Used Oracle Database Configuration Assistant (ODCA) to create a database
2) Used Oracle NET Manager to Create a Listener
3) Restarted Oracle Listener Service
4) Used Oracle Enterprise Manager in localhost environment to create Users--which seem to be the same as Schema--thanks #Leo for your input in the Comments!
Everything works now!
Hope this helps someone.
Oracle 11g2 64-bit Database installed on windows server 2008.
Oracle 6i Form Developer installed on windows server 2003.
There is DB connection problem from client PC.
I add my DB SID(orcl2008) in tnsnames.ora file on client machine.
When Open cmd and
C:\>tnsping80 orcl2008
TNS Ping Utility for 32-bit Windows:
<c> Copyright 1997 Oracle Corporation.
Attempting to connect<ADDRESS=<PROTOCOL=TCP><HOST=192.168.15.100><Port=1521>>OK<0 msec>
But when connect DB using sqlplus then cmd disappear.
C:\>sqlplus scott/123#orcl2008
As press enter then CMD screen disappear immediately.
And when I try to connect Form 6i with using:
U:scott
P:123
H:orcl2008
this form also disappear.
Kindly help me, connect 11g2 Database instance with sqlplus and Form 6i.
Pinging always confirms whther the service is running or not. It does not mean that it allows remote connections. Check your configuration to allow remote connections, then try out again.