If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how to change path of database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-04, 10:37
sharat1981 sharat1981 is offline
Registered User
 
Join Date: Jul 2004
Posts: 6
how to change path of database

Hi
I am using db2e with java , i hav this example with me in which the location of database is specified as 'mysample'

String driver = "com.ibm.db2e.jdbc.DB2eDriver";
String url = "jdbc:db2e:mysample";

I try to search but i couldnt find where this database and tables inside it are on my computer, where should it be?
Also i would like to change this path to some other location e.g
String url = "jdbc:db2e://130.231.50.228/c:temp";

So that i can create database on some folder in my machine or any other machine (which act as server) and i store my data there.

sharat
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On