OSSpk / Library-Management-System-JAVA

📚 A sophisticated Library Management System designed in Java while following the concepts of decoupled layers (entities) and minimal code in interface (GUI).
https://github.com/harismuneer
MIT License
327 stars 223 forks source link

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

Open Keerthi1007 opened 7 months ago

Keerthi1007 commented 7 months ago

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

Keerthi1007 commented 7 months ago

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