I am creating a project for my computing class. I have created a program for my project that stores all of the passwords for the user at 1 location(the program I am creating) so that the user doesn't have to remember all of their different passwords.
I have currently used a MySQL database to hold all of the usernames and passwords for the existing users.So the login procedure goes something like this:
1.Connection is established to MySQL connection 2. users enters name and password into Java form 3. SQL query checks if name and passwords matched that in database. 4. if it does then the user gets in else they are told to re-enter the name and password.
I would like to export my program as 1 program, but i am not sure if i would need to export the MySQL connection too. is there any way that i would be able to export this program and the SQL database as 1 large program or will the end user have to be told to install MySQL and also the program that i have created to use my program?
Is it possible to integrate a MySQL connection into a Java program?