aspose file tools*
The moose likes JDBC and the fly likes Setting up DSN in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Setting up DSN in linux" Watch "Setting up DSN in linux" New topic
Author

Setting up DSN in linux

mohamed zafer
Ranch Hand

Joined: Nov 03, 2000
Posts: 62
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

Joined: Jan 07, 1999
Posts: 6920
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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
mohamed zafer
Ranch Hand

Joined: Nov 03, 2000
Posts: 62
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

Joined: Jan 07, 1999
Posts: 6920
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
 
wood burning stoves
 
subject: Setting up DSN in linux