Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up DSN in linux

 
mohamed zafer
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,
I m new to linux and just getting started with it. Can anyone help me to set up DSN on linux, or how to connect to a database from java.

Mohamed Zafer
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know which database(s) you have available on your Linux system? In general, the process is the same: find the appropriate database driver, add it to your classpath, and then connect to the database using JDBC.
I've moved this to the JDBC forum, where it will get more appropriate attention.
 
mohamed zafer
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have my Oracle 8i database in another Linux machine, so how do i access it from my Linux machine. What are the configurations needed to be done. And for the same what has to be done if the Oracle is on a windows machine.

Help solicited

Mohamed zafer
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The configuration should be the same except for the machine name in the jdbc URL. There have been lots of examples in this forum. A search for "oracle" should bring up plenty
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic