Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Oracle Sqldeveloper connect to local database

Posted on 2013-11-20
2
Medium Priority
?
947 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
What we learned in Webroot's webinar on multi-vector protection.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

610 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