Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Fix "Getting this error while connecting new connection wizard #14" #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Keerthi1007
Copy link

Issue Fixed "Getting this error while connecting new connection wizard #14"

@Keerthi1007
Copy link
Author

Keerthi1007 commented Feb 2, 2024

I discovered a solution for the database connection issue
Step 1: Download My SQL Connector jar file from https://dev.mysql.com/downloads/connector/j/ website and select zip archive from the below.
image

Step 2: Add the downloaded jar file to the external libraries or dependencies of the project. I used Intellij Idea

image

Step 3: Rewrite the makeConnection() method in the Library.java file in (https://github.com/OSSpk/Library-Management-System-JAVA/blob/master/Project/src/LMS/Library.java), Inside the class locate host, uName, and uPass then rewrite it based on your port and database description.
image

Step 4: After making changes, redirect to main class and run the application, It will work perfectly .
image

@Keerthi1007 Keerthi1007 changed the title Update Library.java Issue Fix "Getting this error while connecting new connection wizard #14" Feb 2, 2024
@Keerthi1007 Keerthi1007 closed this Feb 2, 2024
@Keerthi1007 Keerthi1007 reopened this Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant