dbTalk Databases Forums  

Problem connecting to 10 database using SQL Developer

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Problem connecting to 10 database using SQL Developer in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ninja Li
 
Posts: n/a

Default Problem connecting to 10 database using SQL Developer - 11-01-2010 , 11:13 PM






Hi,

I have installed Oracle 10.2 on my Windows XP laptop. The host for
the default ORCL database in my tnsnames.ora is (HOST = 192.168.1.101)
as I am using a LinkSys router. I have no problem connecting to the
database using SQL*Plus or Oracle SQL Developer where I am connected
to internet, with "hostname" setting to 192.168.1.101 in Database
Connections in Oracle SQL Developer. However, when I am not connecting
to my router, I couldn't connect to Oracle 10g database using SQL
Developer but I can connect through SQL*Plus.

Could anyone tell me how I should set the host information in Oracle
SQL Developer and why it works in SQL*Plus?

Thanks in advance.

Ning

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: Problem connecting to 10 database using SQL Developer - 11-02-2010 , 07:03 AM






On Nov 2, 1:13*am, Ninja Li <nickli2... (AT) gmail (DOT) com> wrote:
Quote:
Hi,

* I have installed Oracle 10.2 on my Windows XP laptop. The host for
the default ORCL database in my tnsnames.ora is (HOST = 192.168.1.101)
as I am using a LinkSys router. I have no problem connecting to the
database using SQL*Plus or Oracle SQL Developer where I am connected
to internet, with "hostname" setting to 192.168.1.101 in Database
Connections in Oracle SQL Developer. However, when I am not connecting
to my router, I couldn't connect to Oracle 10g database using SQL
Developer but I can connect through SQL*Plus.

* Could anyone tell me how I should set the host information in Oracle
SQL Developer and why it works in SQL*Plus?

* Thanks in advance.

* Ning
SQL*Plus will use a default BEQUEATH protocol for local connections,
which allows it to connect with or without an active internet
connection and bypass the tnsnames.ora connection configuration.
SQL*Developer is not designed in that fashion and thus needs a remote
database to connect to. You'll need to follow the instructons here:

http://support.microsoft.com/kb/839013


to imstall the Microsoft loopback adapter. After that you'll need to
include either the default IP address for localhost (127.0.0.1) or the
address you've configured for the loopback adapter during installation
as a second ADDRESS mation in the tnsnames.ora file as part of the
ADDRESS_LIST. Once that's done you should be able to connect to your
local database with either SQL*Plus or SQL*Developer.


David Fitzjarrell

Reply With Quote
  #3  
Old   
Ninja Li
 
Posts: n/a

Default Re: Problem connecting to 10 database using SQL Developer - 11-02-2010 , 05:50 PM



David,

Thanks for your help. It works great for me now.

Ning

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.