How to Connect local instance of oracle sql developer? - oracle

I am absolute beginner to oracle and thought of getting started with installing Oracle Sql developer.
Basically i downloaded the zip package and unzipped to program files and opened sqldeveloper.exe.
Then I chose New connection and then filled the connection name,username,password and others but when I test the connection I get the following error.
Status : Failure-Test failed: IO Error: The Network Adapter could not establish the connection
I'm looking to connect to local database for practicing queries.
How do I fix this, is there something else I should install?

Before downloading the Sql Developer, Download the Latest version of Oracle Database from here
1) Now run the Downloaded Oracle database and during installation, it will prompt to create a password for User named 'SYSTEM' .
In my case i have created the password as 'oracle'.
So my credentials for Oracle Database are
User Name: SYSTEM
Password : oracle
2) Now download the SQL Developer and extract it to a local folder.Once Extracted, click the sql developer application file --> Connections Tab --> New Connection (+ icon)-->
Connection Name: TestConn (give some random name)
Username: SYSTEM
Password: oracle (the password i have given during installation of oracle database)
Leave all the other default fields as they are .(see the screenshot below).
Click on test for testing the connection.
References:-
https://www.thatjeffsmith.com/archive/2012/12/i-have-oracle-sql-developer-installed-now-what/

Related

Can data source be changed for OBIEE 12C RPD?

I'm new to OBIEE. I have version 12.2.1.4 installed on a Linux server. I installed the client tools on my Windows PC. Using the Administration tool I created a simple RPD which uses only two tables. For this I had to first create an ODBC DSN to connect to my DB/2 database.
Next, I uploaded the RPD to the OBIEE server using the datamodel cli tool. When I go to the http://hostname:9502/analytics page and select to create a new analysis, it shows me the name of the repository and the two tables. I selected a couple of columns and clicked on the Results tab.
At this point, I get an error message: ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified
I had used the em console to create a JNDI connection to DB/2. But, from the message it seems that it is trying to use the ODBC connection that was used when creating the RPD on my PC.
How do I change the connection that the server is using?
The server needs to be able to reach the data source. EM JNDI connections have nothing to do with it, but rather the server (server OS - not the application) has to reach the source.
You need to update your ODBC settings on the Linux server: https://support.oracle.com/epmos/faces/DocContentDisplay?id=2570997.1

Informatica Connection to OCI ADW during installation

I'm trying to install Informatica 10.1 on OCI and thereby connecting it to ADW for the INFA users access.
I've successfully established connectivity with ADW through sqlplus using the wallet keys. However, during the Informatica installation I'm not able to connect to the ADW database. Below is an excerpt of the connection that is being tried by the installer.
Configure the database for the domain configuration repository:
Database type:
* 1->Oracle
2->SQLServer
3->DB2
4->Sybase
(Default: 1):
Database user ID: (default :- dbadmin) :
User password: (default :- ) :
Configure the database connection
1->JDBC URL
* 2->Custom JDBC Connection String
(Default: 2):
I'm wary on the custom JDBC Connection String that is being asked. Usually the default string is something like this:
jdbc:informatica:oracle://somestringfromtnsnames.oraclecloud.com:1521;ServiceName=somestringfromtnsnames.adb.oraclecloud.com
But in this case I'm connecting to ADW via wallet & ideally the wallet information should be provided. I just am not sure how. I've prepared a string in accordance to the same which I thought was correct, but it doesn't work.
jdbc:informatica:oracle:#tnsnamesalias?TNS_ADMIN=/path/to/my/wallet/store
Has anyone got any idea on this? Any pointers would be helpful.
From what I understand, the DataDirect JDBC drivers used by Informatica do not support Oracle's encryption, which is required to access ADW. It appears that you can use Oracle Client on an existing Informatica installation to add ADW as a target, but not using JDBC or ODBC. There appear to be limitations to this in terms of metadata access, and some import steps will need to be completed manually.
In spite of what it implies in "Autonomous Database 3rd Party Tools and Applications" for Informatica, the only way to complete a new installation - according to the steps in Appendix A of the doc - is to first disable the SQL*Net encryption. This requires a level of access to the Oracle configuration files and processes that does not exist for Autonomous Database services (i.e. access to sqlnet.ora and lsnrctl). It only exists if you are running your own VM host (Infrastructure as a Service) with a stand-alone installation of Oracle Database that you fully control.

ERROR: First connection sqldeveloper username and password

I have already installed sqldeveloper and i can launch SQLdeveloper client on my Linux Ubuntu 16.04 system.
The problem occurs during the first attempt of the new oracle connection from the client.
Error returned:
"I/O: The Network Adapter could not establish the connection"
I have already tryed several times to connect at the database but i still missing the username and password.
Is it possible to configure username and password for SYS/SYSTEM(or who else) user after installation?
Full stop.
You don't have a database.
Installing SQL Developer is just giving you a client you can use to work with an existing Oracle Database, which we often refer to as the 'server.'
SQL Developer is not a database.
So you need to get one.
Then you can use SQL Developer.
You have a few options. I talk about them in detail here.
SQL developer is just like the Key for Safe lock. And Database is the Safe.
So right now you have the key for Safe but doesn't have Safe.
Please get the safe first.
SQL Developer is not the Database. So Installing SQL developer will not give access to DB
Instead SQL Developer is the client side tool to retrieve the data or to do the modification on Database.
To get the database you need to download oracle DB from below link
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle12c-windows-3633015.html

SSMA for Oracle "Connect to Oracle" error

i tried to connect to Oracle using Sql server migration assistant for oracle(SSMA for oracle).
and specified parameters like this
provider: Oracle Client Provider
mode: standard mode
and connection info(servername, port ...)
but i got a error message
"Unable to find specified provider.
Compatible Oracle Data Access Connectivity libraries were not found on the machine. You can install them from Oracle product media or download it from Oracle web site."
so i installed Oracle Data Access Components(ODAC),
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
but same error message appeared.
what is Compatible Oracle Data Access Connectivity library?
I faced the same problem, Oracle Data Access Components (ODAC) are required for applications to connect to the database, to use "SSMA" you need to install Oracle instant client,
1) Download http://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html
2) Unzip, then add the folder to the path, open control panel > system > Advanced > Environment Vriables > choose Path and Edit it to add a new entry with your folder.
3) Connect with the 'system' user (user id = system)
see also this answer it helped me https://stackoverflow.com/a/26439785/4542599

Oracle Client set oracle home

In the Windows, I have issues in Oracle client driver, so Toad and Sql developer can't login. how to create an oracle home ? which bin path I should point to ? how to set up toad home and should point to which oracle bin ?
here is my oracle structure.
--oracle
---- client
--- 11.2.0.1
---- product
---- 10.2.0
---- 11.1.0.6
Thanks
SQL developer is self contained and comes with it's own Oracle drivers. An Oracle client is not necessary in order to make a connection.
Open the program
click on the green plus sign on the left side to create a new connection
Enter a connection name which can be anything you want
enter the username and password
select a Basic connection type to use the built in drivers
enter the machine name, port and database name in SID or service name depending on how your database was configured
click test to confirm and you are good to go
Have you tried making a new Basic connection from SQL Developer as outlined above? Visual Studio should not affect SQL developer and I'm doubtful that it would affect the database name or port.

Resources