college-management-system-java
college-management-system-java copied to clipboard
Database connection
It shows the database connection failed..... Can you help me out?
Hi @Navneet-sharma01 , Can you share the image of your error that you are getting??
Hi @Navneet-sharma01 , Did you created database as database structure shown in image?? If you have done the above process correctly then show me your DBConnection file...
no,i didn't understand what actually needs to be done.
Hi @Navneet-sharma01 , Steps need to be taken 👎🏻
- Create a database in MySQL.
- DB table structure should be according to table structure as shown in image.
- Go to DBConnection.java file in the project.
- Write your database name, username and password in the place of YOUR_DB_NAME, YOUR_DB_USERNAME and YOUR_DB_PASSWORD respectively.
- Try to run the app again.
Hope u will be helped. 👍🏻
DB Table Structure Image
👇🏻
can you tell me the connections of ER diagram for MySQL in windows. because the connection lines in windows are different
How to solve java.sql.SQLException: Field 'UID' doesn't have a default value?
Insertion failed everytime I tried to save on Student Application Page
please explain in detail all the steps needed to run this project. And where to run this code