Bug 363

Summary: Cannot run the application
Product: Group 1 - Employee Leave management system Reporter: ibrahim <ibrahimshabbir_52>
Component: FrontendAssignee: Ho Ka Chun <kacho47-c>
Status: CONFIRMED ---    
Severity: major    
Priority: Highest    
Version: unspecified   
Hardware: Macintosh   
OS: Mac OS   

Description ibrahim 2019-12-09 13:55:42 HKT
Compiling and running the main.java is giving me the following console message with an error:

Backend started
Error: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
Frontend is starting at thread: 21

Steps to reproduce:
1. Select main.java
2. Run as Java application
Comment 1 ibrahim 2019-12-09 22:52:47 HKT
The problem is because you local database has access controls

Steps to solve:
1. Go to DBConnect.java in the Backend package
2. Search for the statement on line 21 for establishing connection
3. Enter your password after your username in double quotations