Hi, In DriverManager.getConnection, we have three parameters..for URL,Login, Passwd. Some time back, when i was using Oracle on 18.104.22.168 IP, the parameter is jdbc racle:thin:@22.214.171.124: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.
posted 13 years ago
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