Solved

Oracle Sqldeveloper connect to local database

Posted on 2013-11-20
2
907 Views
Last Modified: 2013-11-27
I downloaded SqlDeveloper from this url:
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
I chose Windows 64-bit. My PC is Windows 7 64-bit.

I can connect to remote databases as expected using the SqlDeveloper IDE. But I cannot connect to the local database residing on the same PC on which I am running the SqlDeveloper.

On sqlplus:
c:\sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Thu Nov 21 00:24:31 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

SQL> connect usr1/usr1
connected.
SQL> select name from v$database;

NAME
---------
ORCL

Could you please help troubleshoot? Thanks a lot. error
0
Comment
Question by:toooki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39665662
From a command prompt make sure ORCL is being listened for:
lsnrctl status

If you don't see ORCL, try manually registering it.  From a sqlplus prompt: alter system register;

Then check the listener again.
0
 

Author Comment

by:toooki
ID: 39682151
Just checked, started lsnrctl and it now works.  Thanks a lot.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question