Hi, In DriverManager.getConnection, we have three parameters..for URL,Login, Passwd. Some time back, when i was using Oracle on 220.127.116.11 IP, the parameter is jdbc racle:thin:@18.104.22.168:1521 ROJDB,"scott","tiger";
But now i am working with MS Access, and database is in computer name "cebgt068". can any one tell me what should be the URL part to get the connection with the database. thank you prabhakar.
Joined: Jul 26, 2002
Hi, You need the DSN. If you are using JDBC DBC as I do with MS access, you can do the following: Your connection String will be "jdbc dbc: (write DSN name here)" connection = DriverManager.getConnection(ConnectString,username, password); Hope this helps, -Deb