This Java program interacts with a MySQL database to perform various operations related to course evaluation.
- Team Name: SQLSamurais
-
Name: 조유담
- Student ID: 1942051
-
Name: 방현수
- Student ID: 1916011
-
Name: 이서연
- Student ID: 2176255
- Java Development Kit (JDK) installed
- MySQL database server running
- JDBC driver for MySQL
- Clone the repository or download the source code files.
- Open the project in your preferred Java development environment.
- Include the JDBC driver for MySQL in the project's classpath.
- modify Welcome.java 51 line to "jdbc:mysql://localhost:3306/database name", "root", "root비밀번호"
- When you do not modify welcome.java (number.4) , you can not connect MySQL DB. *
To run the JAR file, you can use either of the following methods:
-
Open a terminal or command prompt, navigate to the directory containing the JAR file, and execute the following command: java -jar filename.jar
-
Alternatively, you can double-click the JAR file to execute it.
- Run the
Welcome
class, which contains the main method, to start the program. - The program will establish a connection with the MySQL database.
- The program will retrieve data from the "student" table in the database and populate a list of User objects.
- Enter your name and number when prompted for verification.
- The program will validate your information by checking if it matches any user in the list.
- Once validated, a menu will be displayed with different options for course evaluation operations.
- Choose an option from the menu to perform the desired operation:
- Insert a new course evaluation
- Search for a course evaluation
- Modify a course evaluation
- Delete a course evaluation
- View user information
- Exit the program
- Follow the prompts and enter the required information to complete each operation.
- The program will interact with the MySQL database using SQL queries to perform the necessary operations.
- The menu will be displayed after each operation until you choose to exit the program.
Please adjust the instructions and details based on your specific code and environment requirements.