Skip to content

Commit 22dcab0

Browse files
added guide for how to import .sql file
1 parent 88356c4 commit 22dcab0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ git clone https://github.com/your_username/student-management-system.git
2121
3. create the required table and sample data.
2222
4. Update the MySQL database connection details in the dbConnect class.
2323
5. Build and run the project using a Java IDE or command-line tool.
24-
24+
6. To import *student_data.sql* into your mysql database.
25+
* **Type**: ```mysql -u username -p database_name < file.sql```
26+
* The **username** refers to your MySQL username.
27+
* **database_name** refers to the database you want to import.
28+
* **file.sql** is your file name. (student_data.sql in our case.)
29+
* If you've assigned a password, type it now and press Enter.
2530

2631
# Usage
2732
* Launch the application

0 commit comments

Comments
 (0)