Bookmark Topic Watch Topic
  • New Topic

Access connection

 
Archana Pawar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am unable to connect to the database MyDB.accdb.
The code is as follows:
Class.forName("Microsoft Access Driver (*.mdb,*.accdb) ");
Connection conn = DriverManager.getConnection(jdbc::MyDB.accdb, "", "");
Any suggestions welcome!!!
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question multiple times. Let's continue the discussion in this duplicate thread where you got an answer already. If you have a follow-up question, you can post it there.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!