Fixed links.
This commit is contained in:
parent
3c406e59e2
commit
d4878f4231
@ -3,11 +3,11 @@
|
|||||||
This is a guide for importing a database in MySQL using the terminal.
|
This is a guide for importing a database in MySQL using the terminal.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
- Have MySQL installed on your machine
|
- Have MySQL installed on your machine.
|
||||||
|
|
||||||
## Guide
|
## Guide
|
||||||
|
|
||||||
1. Download the database file from this repository. These database files have `.sql` extension and can be found in the Assignment folders within the [Practical folder](https://git.kska.io/DatabaseManagementSystems/src/branch/main/Practical/).
|
1. Download the database file from this repository. These database files have `.sql` extension and can be found in the Assignment folders within the [Practical folder](https://git.kska.io/DatabaseManagementSystems/src/branch/main/Practical).
|
||||||
|
|
||||||
2. After downloading the file, locate it in the `Files` app. The downloaded file will mostly likely be preset in the _Downloads_ folder.
|
2. After downloading the file, locate it in the `Files` app. The downloaded file will mostly likely be preset in the _Downloads_ folder.
|
||||||
|
|
||||||
@ -33,9 +33,9 @@ sudo mysql -u root -p database_name < database.sql
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
Let's consider I want to import the database for Assignment-A2. The database file is present in [Practical/Assignment-A2](https://git.kska.io/DatabaseManagementSystems/src/branch/main/Practical/Assignment-A2) folder.
|
Let's consider I want to import the database for Assignment-A2. The database file is present in [Practical/Assignment-A2](https://git.kska.io/sppu-te-comp-content/DatabaseManagementSystems/src/branch/main/Practical/Assignment-A2) folder.
|
||||||
|
|
||||||
1. First download the [Database_A2.sql](https://git.kska.io/DatabaseManagementSystems/src/branch/main/Practical/Assignment-A2/Database_A2.sql) file.
|
1. First download the [Database_A2.sql](https://git.kska.io/sppu-te-comp-content/DatabaseManagementSystems/src/branch/main/Practical/Assignment-A2/Database_A2.sql) file.
|
||||||
|
|
||||||
2. Locate the file in `Files` app, mostly likely present in the _Downloads_ folder.
|
2. Locate the file in `Files` app, mostly likely present in the _Downloads_ folder.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user