Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Connecting to local access database

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Connecting to local access database

    Hi,
    I was going through a book and it has a statement that reads

    static final String DATABASE_URL = "jdbc:mysql://localhost/books".

    This is for connecting to a local mysql database called books.

    What would I use for a simmilar access database which is on my C:.

    Please help.


  2. #2
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: Connecting to local access database

    Quote Originally Posted by Moses76 View Post
    Hi,
    Please help.
    Access Database Manipulation via JDBC (for Microsoft Access) by Jeff Patterson

    I don't know, but this link seems to be the go-to page for everyone else who has ever asked the question. Consider installing and using MySQL. While it can be used for enterprise projects, it also works just fine on quite low-powered desktop PCs.

Similar Threads

  1. Problem With Applet Connecting With Microsoft Access Database
    By Saurabh Mittal in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 29th, 2011, 11:43 AM
  2. Replies: 1
    Last Post: June 7th, 2011, 12:53 PM
  3. Connecting to Access 2007 Database
    By aussiemcgr in forum JDBC & Databases
    Replies: 12
    Last Post: December 14th, 2010, 04:42 PM
  4. Looking at Exploring Database Connecting
    By aussiemcgr in forum JDBC & Databases
    Replies: 2
    Last Post: August 12th, 2010, 04:40 PM
  5. Connecting to a database
    By fwashington in forum JDBC & Databases
    Replies: 5
    Last Post: March 15th, 2010, 02:37 PM