Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Error:

 
Maanik kandan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

is this correct URL for oracle database connection..it gives me an error:

jdbcracle:thin:@localhost:1521racle

SQL problems: Io exception: The Network Adapter could not establish the connection
jdbcracle:thin:@localhost:1521racle

please sort out my issue..
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. For Oracle JDBC url:
http://www.herongyang.com/jdbc/Oracle-JDBC-Driver-Connection-URL.html

2. Make sure oracle database instance is running on port 1521 and that port is open.

3. Disable the similes.
 
Maanik kandan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried that type of URL too ..but its give me an same Error..please give me suggestion regarding my issue
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Oralce running locally? Are you using a SID and is it correctly configured?
 
Maanik kandan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah am doing...in my home PC..during my installation of oracle i gave my sid and global database as oracle..

is that right?
 
Asmita Khamkar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am also getting Network adapter error could not establish connection, but I get this error when my internet connection is on, otherwise it connects to oracle properly and all my queries work properly when my Internet is off.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic