Results 1 to 2 of 2
- 06-29-2009, 01:25 PM #1
Member
- Join Date
- Jun 2009
- Posts
- 17
- Rep Power
- 0
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
Next i need to connect to the database to use it.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");
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...
- 07-02-2009, 06:35 PM #2
Member
- Join Date
- Jun 2009
- Posts
- 17
- Rep Power
- 0
Similar Threads
-
New to java a little confused.
By Dometic in forum New To JavaReplies: 10Last Post: 12-07-2008, 11:56 PM -
reading in 2 sentence for java, I am lost ...
By madatlis in forum New To JavaReplies: 16Last Post: 10-10-2008, 12:21 PM -
Has Java lost its way?
By alexj44 in forum Advanced JavaReplies: 4Last Post: 09-23-2008, 01:26 PM -
New to Java - totally lost as to what to download
By RR_QQ in forum New To JavaReplies: 1Last Post: 09-04-2008, 09:07 AM -
I am so lost in my java class
By taliGLM in forum New To JavaReplies: 1Last Post: 04-30-2008, 10:02 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks