Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Odbc problem help me

 
sivakanth narra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai all
i am new to this section ,i have a problem with connecting to oracle by using odbc driver.
First on windows 95 i installed oracle 7.3 and tryed to connect to it using odbc(Microsoft odbc driver for oracle) driver ,when i run my java application an window appears on the screen saying oracle client and network components where not installed and install them.
i uninstall the oracle 7.3 and installed oracle 8 but the same error is comeing .
At last i changed my os from windows 95 to windowsNT and istalled oracle8i ,but the sad thing is i found tha same error
please help me

 
Himanshu Khanna
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try connecting it using a thin client ..
con = DriverManager.getConnection("jdbc racle:thin:@19.68.16.15:1521:default", "scott","tiger");
replace the I.P , Port no. , DB name , username ,�@pwd according to ur needs
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!