How to connect sql developer to Oracle database using instant client_12_1 - oracle

I have downloaded the oracle instant client 12_1 but i'm unable to connect to the oracle database.when i tried using sql developer it is displaying the following error.
The Network could not be established.
I'm using windows 7 and my Oracle_home path is defautly set in the system variables as
path
E:\app\dell\product\11.2.0\dbhome\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

I suspect you've begun the headache of messing with the connection string. I seriously recommend you find the option in SQL Developer that will allow you to connect directly to the server (bypass TNSNAMES) and use EZ Connect. The connection string will look like this:
server.whatevz.com:port/sidname
I don't use SQL Developer, so I can't point to it specifically, but I have used it and configured it as such, and it works fine. I'm a fan of PL/SQL Developer (All Around Automation) myself.

Related

Export Database connection to Oracle Developer

I have a database Connection established in odbcad and Microsoft Access (aswell as working in Excel) via ODBC and want to also get it working in Oracle SQL developer.
It is a Windows SQL Server as far as i know and I have tried several Settings, of which None works. I have also installed Driver for ODBC. I would like to Import Settings into SQL developer as applied in MS Access, is there any possibility?
No, SQL Developer is a Java application and uses a JDBC driver.
But if you look at the odbc properties for your connection, those should largely translate to what you need to define a basic connection.
Oracle:
Server name or IP address of the DB, port # for the listener, and the name of the SID or Service, plus a valid username and password is all you need to connect to Oracle.
What error do you get when you try to connect?
Show us what you're trying.
Update:
You're trying to connect to SQL Server but you're getting"
Native SSPI library not loaded
You're trying to use OS Authentication for your connection. For this to work with the jTDS driver, you need to copy a DLL file named ntlmauth.dll (which is for NT authentication) under the jtds-x.x.x-dist\x86\SSO\ or jtds-x.x.x-dist\x64\SSO\, to any directories in the PATH environment.
Please update your question such that's it's clear you're connecting to SQL Server and share the error message so others can find it.
I imagine this question is a duplicate of many previous iterations of the same challenge.

Toad for Oracle install

I'm beginner level oracle developer. I have SQL developer installed on my machine. And I wanted to install Toad for oracle too. But When I tried to install Toad, it gave me an error:
No Valid Oracle Clients found. You need atleast one 64- bit client properly configured.
Can someone explain why I'm getting this error?
Because SQL Developer ships with its own JDBC driver, which doesn't require an oracle client to connect to the Database.
If you have a compatible Oracle Client sitting around, you can tell SQL Developer to piggyback on that client for connections - but THAT IS NOT required.
T.O.A.D. is a windows executable that needs an Oracle Client to connect to a database. An Instant Client is the easiest way to get going.

Connect and create a local Oracle database

I've installed sqlplus64 throw this tutorial: http://webikon.com/cases/installing-oracle-sql-plus-client-on-ubuntu
I want to practice SQL using sqlplus (I can't connect remotely to school ssh).
I've tried everything I found in google and still can't connect.
I don't have any credentials
sqlplus64 / as sysdba
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Welcome!
Probably the easiest way to get started with SQL using sqlplus is to use the virtual machine image Oracle provides for the hands on lab. It contains not only sqlplus, but a full Oracle 12c database, already configured correctly.
Download and instructions here. It's free. You'll need a free account on OTN (Oracle Technology Network), but that's necessary anyway to read the documentation about SQL*Plus and all the rest of it.

Cant create local connections in SQL Developer [duplicate]

I am new to Programming. I am learning JAVA and for DB i wanted to learn Oracle so I downloaded sqldeveloper from Oracle website. It was a zip file so I didnot have to install anything, simply extracted it. When I open the sqldeveloper and try to make a new connection, it shows error.
Test failed: IO Error: The network adapter could not establish the connection.
I am not sure what to put in username and pwd. and i am also not sure if i have to connect this to jdk or jre or set classpath for database.
Can anyone help me?? I have uploaded the snapshot of the error too.
You downloaded a client.
You did NOT download the server component though - the actual database.
SQL Developer just allows you to work with an existing database.
No worries, you're not that far away. You have several options.
Oracle Database Express Edition (XE) - it's completely free.
We also have a VirtualBox appliance you can use for personal learning purposes, also completely free.
I talk about this and give step by step instructions here.
Check if oracle service, TNSListener service is up and running before trying to make any new connection from sql developer.
Even if TNS Service is down , connection can not be established with oracle instance.

Cannot create a new connection is sqldeveloepr

I am new to Programming. I am learning JAVA and for DB i wanted to learn Oracle so I downloaded sqldeveloper from Oracle website. It was a zip file so I didnot have to install anything, simply extracted it. When I open the sqldeveloper and try to make a new connection, it shows error.
Test failed: IO Error: The network adapter could not establish the connection.
I am not sure what to put in username and pwd. and i am also not sure if i have to connect this to jdk or jre or set classpath for database.
Can anyone help me?? I have uploaded the snapshot of the error too.
You downloaded a client.
You did NOT download the server component though - the actual database.
SQL Developer just allows you to work with an existing database.
No worries, you're not that far away. You have several options.
Oracle Database Express Edition (XE) - it's completely free.
We also have a VirtualBox appliance you can use for personal learning purposes, also completely free.
I talk about this and give step by step instructions here.
Check if oracle service, TNSListener service is up and running before trying to make any new connection from sql developer.
Even if TNS Service is down , connection can not be established with oracle instance.

Resources