Skip to content

Latest commit

 

History

History
64 lines (35 loc) · 1.59 KB

File metadata and controls

64 lines (35 loc) · 1.59 KB

MySQL Database

Uploading a databse to a local server is written using PHP and creating a database using SQL.

Database for a small company Fired Up that sells burners.

Fired Up Database is Relational Database.

Relationships between tables 7

This databse can be used for learning how to write SQL queries.

Instalation

  1. Install XAMPP.

  2. Open XAMPP Control panel and start Apache Web Server and MySQL Database.

1

  1. Extract the folder with the file in C:\xampp\htdocs.

2

  1. Open any browser and type localhost/phpmyadmin.

  2. Click on New at side navbar.

  3. Give a database name as FiredUp and hit on Create button.

3

  1. After creating database name open browser and type localhost/ and your folder name which is located in C:\xampp\htdocs, in my case http://localhost/FiredDB/

  2. Your file will appear on the screen, click on it.

4

  1. Open browser and type localhost/phpmyadmin again.

  2. Click on FiredUp at side navbar and will open a database with four tables.

5

  1. You can open any table by clicking on it.

For examle table Repair 6

Relationships

    1. Click on Designer at top database navbar to see relationships between tables.

7

Queries

  1. To write queries you need click on SQL at top navbar.

8

  1. Example of query result output.

9

If you like my project hit a star button)