• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection Error:  RSS feed

 
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..
 
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
 
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?
 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!