Results 1 to 2 of 2
  1. #1
    etherkye is offline Member
    Join Date
    Jun 2009
    Posts
    17
    Rep Power
    0

    Default Lost and confused - Java/j and mxj

    To start with i'll tell you what i have.

    First off my program unzips the two folders into the C drive and then loads the classes

    Java Code:
                JarFileLoader.addFile(main,"C:/EPOS_SQL/mysql-connector-java-5.1.7/mysql-connector-java-5.1.7-bin.jar");
                JarFileLoader.addFile(main,"C:/EPOS_SQL/mysql-connector-mxj-gpl-5-0-9/mysql-connector-mxj-gpl-5-0-9.jar");
                JarFileLoader.addFile(main,"C:/EPOS_SQL/mysql-connector-mxj-gpl-5-0-9/mysql-connector-mxj-gpl-5-0-9-db-files.jar");
    Next i need to connect to the database to use it.

    Now i know that mxj allows me to have the database inside of itself while the program is running, but i can't find out how to start a new database.

    All i seam to be able to find it methods to connect to it, but theres no point in connecting to a database that doesn't exist as it has no username nad password protecting it which i would like to set.

    Also, once i load the three .jar files, do i need to do it again during the program or just the once? And do i connect to the database just the ones, or whenever i need to run a command?

    I do of course have a main file running that never stops, which all the database querys can be sent through, if i can make the database...

  2. #2
    etherkye is offline Member
    Join Date
    Jun 2009
    Posts
    17
    Rep Power
    0

    Default

    Solved the first problem.

    Now i need to make a table.

    Why do none of the guides seam to tell you what command to use >.<

    Also, does anyone know a program to get overview of a database thats being run through mxj?

Similar Threads

  1. New to java a little confused.
    By Dometic in forum New To Java
    Replies: 10
    Last Post: 12-07-2008, 11:56 PM
  2. reading in 2 sentence for java, I am lost ...
    By madatlis in forum New To Java
    Replies: 16
    Last Post: 10-10-2008, 12:21 PM
  3. Has Java lost its way?
    By alexj44 in forum Advanced Java
    Replies: 4
    Last Post: 09-23-2008, 01:26 PM
  4. Replies: 1
    Last Post: 09-04-2008, 09:07 AM
  5. I am so lost in my java class
    By taliGLM in forum New To Java
    Replies: 1
    Last Post: 04-30-2008, 10:02 PM

Posting Permissions

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