Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

19.2.1 is now available.

thatJeffSmith-OracleSep 12 2019 — edited Nov 3 2019

Version 19.2.1 is available for download.

In this release:

+ BUG: Truncated Excel Exports

+ BUG: Slow connect times and/or non-functional Code Insight.

BOTH of these items were caught by folks in this community, so thanks very much for helping us keep the product where it should be.

News-wise, version 19.3 remains on schedule for the end of the month.

If you take a look at SQLcl 19.2.1, there's a new FEEDBACK option, courtesy Tim Hall aka oraclebase.

Comments

thatJeffSmith-Oracle

You didn't share your connection properties...

Nader H

can you elaborate ??

thatJeffSmith-Oracle

We need you to elaborate.

How are you connecting from SQL*Plus?

How are you defining your connection in SQL Developer?

Nader H

its all local, installation was implemented on a laptop for training purposes.

sql plus is accessed through cmd, typed sqlplus then i enter username (hr) and password (****) with no complications. i can retrieve row and columns as well

as for oracle sql developer  same username and password are used.

hostname: localhost

port 1521   (as set through net configuration)

sid:  xe

Nader H

and i made sure all required services are running as well.

thank you!

Sven W.
Answer

Try it with sid ORCL instead of XE.

If that doesn't help, then choose SERVICE_NAME orcl instead of SID in sql developer.

Your listener seems to have an entry for that.

You can test it also in SQl*Plus. But what you did so far in SQl*plus was a "server connect" without providing the database.

Since in your case the client and the server is on the same machine, this works with sql*plus.

If you try a client coonnect by specifying the database too, then you would do the same as the Oracle SQL Developer is trying.

For testing purposes something like

sqlplus user/pwd@host:port/ORCL

also in the Sqlnet.ora file there needs to be an etry for local connect method EZCONNECT. I'm not sure if this is set during the default net installation.


You can try if there is a TNS-Alias name (configured in tnsnames.ora)

sqlplus user/pwd@ORCL


If that works with sql*plus then you still need to tell the sql developer where the tnsnames.ora file is located on your computer.

The setting is in menu: extras/tools/database/enhanced

The tnsnames.ora file is usually in some folder like this:

C:\Oracle\product\11.2.0\client_1\network\admin


Marked as Answer by Nader H · Sep 27 2020
unknown-7404

as for oracle sql developer  same username and password are used.

hostname: localhost

port 1521   (as set through net configuration)

sid:  xe

Why are you using 'sid: xe'? If you check the listener status you posted at the beginning you will see that there is NO such 'xe' listed.

The listing includes this:

Service "orcl" has 1 instance(s).

  Instance "orcl", status READY, has 1 handler(s) for this service...

Use 'orcl' as the sid or service name and post the results.

Nader H

really appreciate the effort and clarification!

Solved and thanks!

1 - 8

Post Details

Added on Sep 12 2019
10 comments
1,621 views