Results 1 to 3 of 3
  1. #1
    goatjugsoup is offline Member
    Join Date
    May 2012
    Posts
    15
    Rep Power
    0

    Default How do you set up mysql JDBC with Eclipse?

    Was not sure where to post this but I am using Eclipse so maybe I could get help here.

    Anyway the situation is I downloaded the jdbc from the site here - MySQL :: Begin Your Download - mysql-connector-java-5.1.21.zip
    I have no idea what is supposed to go in the speech marked bit below, I did sqlite earlier but someone helped me out with it then and I didn't really learn how to figure it out like I should have. Was browsing through the jar and can't see anything that seems obvious to put in there.

    Java Code:
    Class.forName("");
    Oh, also if its not too much trouble could anyone help me figure out how to connect it to a web database? The sqlite one I used before was local. What info do you need and how do you use it?

    Would appreciate any help.
    Last edited by goatjugsoup; 09-05-2012 at 04:12 AM.

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,802
    Rep Power
    19

    Default Re: How do you set up mysql JDBC with Eclipse?

    There is plenty of documentation for MySQL.
    For example this section "Driver/Datasource Class Names, URL Syntax and Configuration Properties for Connector/J".
    You'd have been done hours ago had you simply Googled for the MySQL docs.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    goatjugsoup is offline Member
    Join Date
    May 2012
    Posts
    15
    Rep Power
    0

    Default Re: How do you set up mysql JDBC with Eclipse?

    The main issue with that was that I had no idea it existed, not really that good with looking up this kind of stuff. I do appreciate the help though and I will note for future reference what you said.

Similar Threads

  1. Replies: 0
    Last Post: 03-03-2012, 01:01 AM
  2. JDBC Problem - com.mysql.jdbc.Driver
    By icu222much in forum Advanced Java
    Replies: 5
    Last Post: 11-22-2011, 04:54 PM
  3. JDBC with Connector/J with MySQL
    By nmvp in forum JDBC
    Replies: 2
    Last Post: 02-16-2011, 06:30 AM
  4. MySQL/JDBC Mysql query output
    By thelinuxguy in forum Advanced Java
    Replies: 4
    Last Post: 02-13-2009, 01:57 AM
  5. help ... JDBC or PHP/MySQL
    By bluebarca in forum Advanced Java
    Replies: 1
    Last Post: 11-16-2007, 10:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •