Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

JOB NO: 01

JOB NAME: XAMPP INSTALL, Database with table Create & Data Insert.

JOB DETAILS:

XAMPP INSTALLATION: First we’ll go to https://www.apachefriends.org/download.html and download


the Xampp software.

Then for installation double click on the xampp.exe file.

Then the following window will popup and need to accecpt.


After finishing up this window will popup . select language and click on save

After this xampp control panel window will popup.

Click on Apache and MySQL start


button to run xampp server.

DATABASE AND TABLE CREATION :

STEP 1: First we’ll go to any browser and paste “Localhost/phpMyAdmin” on address bar.Then MySQL
homepage will popup.After need to click on New and insert database name and click on create button.
This will create a Database.

STEP 2: After Selecting the ceated database we’ll go to SQL and type the code

CREATE TABLE student_table(Id int(2) AUTO_INCREMENT UNIQUE, Name char(30), Roll Int(6) UNIQUE,
Reg int(10) UNIQUE);

This will create a table under the database.

STEP 3: After selecting the table we’ll go to SQL and type the code :

INSERT INTO student_table(Name, Roll, Reg,Dept,Adress) VALUES("ISHTIAQ", 908548,


0000891444,"Cmt","Rajshahi");

This will insert data on the table like this:

You might also like