Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
59 views4 pages

Reen University of Bangladesh: Department of Computer Science and Engineering

Nahim Ahmed Rimon submitted a lab report for their Database Systems Lab course. The report details an experiment on introducing MySQL. It describes installing Xampp, starting the Apache and MySQL servers, and using commands like "create database" and "create table" to generate a new database called "Movies" and a table within it called "MovieList" with fields for serial number, cinema name, and release date. The objective was to learn the basics of creating a database and table in MySQL.

Uploaded by

Nahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views4 pages

Reen University of Bangladesh: Department of Computer Science and Engineering

Nahim Ahmed Rimon submitted a lab report for their Database Systems Lab course. The report details an experiment on introducing MySQL. It describes installing Xampp, starting the Apache and MySQL servers, and using commands like "create database" and "create table" to generate a new database called "Movies" and a table within it called "MovieList" with fields for serial number, cinema name, and release date. The objective was to learn the basics of creating a database and table in MySQL.

Uploaded by

Nahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Green University of Bangladesh

Department of Computer Science and Engineering

Lab Report

Course Code : CSE 210


Course Name : Database System Lab

Experiment Number : 01
Experiment Name : Introduction to MySQL

Submitted By: Submitted To:

Name : Nahim Ahmed Rimon Name : Md. Shakhawat Hossain

Id : 182002032 Designation : Lecturer

Section: DB Dept. Of CSE

Date of Performance : 05-02-2020


Date of Submission : 12-02-2020
Remarks:
1. Objective
The objective of this experiment is to learn about the basics of database and
how to create a database and a table in that database.

2. Equipment
 A computer (we using windows operating system)
 Xampp Software

3. What Is Database
A database is an organized collection of data, generally stored and accessed
electronically from a computer system. Where databases are more complex
they are often developed using formal design and modeling techniques.

4. Starting Xampp Server


• At first we need to install xampp on the computer.
• Go to the directory where you installed xampp.
• Find xampp-control.exe and open it.
• Start both Apache and MySQL.
5. Instructions
• Go to this directory xamppmysqlbin.
• Write down the address of that directory.
• Go to the windows search operation and search for cmd or hold down
windows button +R and type cmd and click OK.
• This will open windows Command prompt.
• Type (cd/) and press Enter.
• Now type the drive name and press enter.

• Type “cd xampp\mysql \bin” and press Enter.


• Now type “mysql -u root -p -h 127.0.0.1” and press enter. It will want
password, we need to press ‘Enter’ again.
6. Creating A New Database & A Table
• Now if we type ‘show databases’, it will show all databases.
• To create new database we will use ‘create’ :
“create database Movies;”
• To use the created database : “use Movies;”.
• To create a table : CREATE TABLE MovieList (serial int(11)unsigned
auto increment primary key not null, Cinema name VARCHAR(40)
not null, Relesed date varchar(25) not null);
• If we use “show tables” command we can see the all tables in the
database.

A New Databas & Table.

You might also like