aspose file tools
The moose likes JDBC and the fly likes Setting up DSN in linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 6913
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.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
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: 6913
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Setting up DSN in linux
 
Similar Threads
Can I use jdbc:odbc to access MS Access database remotely?
Create DSN in Linux
Setting up DSN in linux
Doubt on Servlet having database connection?
how to connect to excel database residing on a different machine ?