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

Database connection #1

Open
Navneet-sharma01 opened this issue May 18, 2021 · 8 comments
Open

Database connection #1

Navneet-sharma01 opened this issue May 18, 2021 · 8 comments

Comments

@Navneet-sharma01
Copy link

It shows the database connection failed.....
Can you help me out?

@nixrajput
Copy link
Owner

Hi @Navneet-sharma01 ,
Can you share the image of your error that you are getting??

@Navneet-sharma01
Copy link
Author

error

@nixrajput
Copy link
Owner

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...

@Navneet-sharma01
Copy link
Author

no,i didn't understand what actually needs to be done.

@nixrajput
Copy link
Owner

Hi @Navneet-sharma01 ,
Steps need to be taken 👎🏻

  1. Create a database in MySQL.
  2. DB table structure should be according to table structure as shown in image.
  3. Go to DBConnection.java file in the project.
  4. Write your database name, username and password in the place of YOUR_DB_NAME, YOUR_DB_USERNAME and YOUR_DB_PASSWORD respectively.
  5. Try to run the app again.

Hope u will be helped. 👍🏻

@nixrajput
Copy link
Owner

DB Table Structure Image 👇🏻

db_structure

@swaminath8358
Copy link

can you tell me the connections of ER diagram for MySQL in windows. because the connection lines in windows are different

@enchung27
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants