PDA

View Full Version : (help please) Java and MySQL



grundyboy34
August 14th, 2010, 02:50 AM
hi guys i've seen alot of tuts on how to make a java app connect to a mysql database
but they all say i need mysql's jbdc driver
i have downloaded that but the reason i want to do this is because i want my application to have a login system and i want it to save usernames and settings to a database

if i released this wouldn't the customers have to download the drivers also?
or is there a way to include it in the program files ? or watever ubuntu's program files are?(btw i just got ubuntu dont know alot about but it's wat i'm usin now)

any help will be appreciated thanks

Some Penguin
August 14th, 2010, 03:55 AM
If you're expecting people to have to install, configure and keep-running MySQL to store usernames and settings for your application, I doubt it's a significantly greater imposition to have them install the JDBC connector, too.

grundyboy34
August 14th, 2010, 04:24 AM
people wouldnt need mysql to use my program they would just need java

but this was my fault i didnt understand that netbeans kinda acts like visual basic in that if u add a library (i added the driver as a library) then it gets included. totally my fault as i was bein stupid so i have it figured out know but thanks for tryin to help