SlideShare a Scribd company logo
WEB HOSTING
Module 6: Databases
INTRODUCTION
Databases let you store lots of
information for easy access on a
site. Web development courses will
often teach how to save content to
databases using web forms.
MODULE OBJECTIVES
Upon completion of this module, you should
be able to:
• Define database
• Describe the different types of databases
o Flat
o Relational
• Define DB and user access
• Identify common uses for databases
• Describe phpMyAdmin
• Apply your knowledge to setup a MySQL
database and user in cPanel
WHAT IS A DATABASE?
A database is a computerized system that
makes it easy to:
o Search for information
o Select information
o Store information
The most common reason for needing a
database is when a customer is using a
Content Management System (CMS) such as
WordPress or Joomla.
A database acts as the brain of the website.
Anytime you make a change to your website
your database is what remembers the change
or update.
TYPES OF DATABASES
Databases can be of two types, let’s explore
each of them in detail.
FLAT FILE RELATIONAL
Flat file
A "flat file" database allows users to specify data
attributes (columns, datatypes) for one table at a
time, storing those attributes independently from any
application.
dBase III and Paradox are good examples of this
kind of database in the CP/M and MS-DOS
environments, and the original FileMaker was a
good Mac O/S example.
TYPES OF DATABASES
IP addresses can be either static or dynamic.
FLAT FILE RELATIONAL
Relational
A relational database is one that contains multiple
tables of data that relate to each other through
special key fields.
Relational databases are far more flexible (though
harder to design and maintain) than what are known
as flat file databases, which contain a single table of
data.
Let’s see..
PAYING ATTENTION?
Select one or more of
the options. Then move
on to the next slide to
check your answer.
They are more flexible but harder to design.
They contain multiple tables.
FileMaker is an example of a relational database.
Which of the following statements are true relational databases?
Let’s see..
PAYING ATTENTION?
Select one or more of
the options. Then move
on to the next slide to
check your answer.
Which of the following statements are true relational databases?
Relational databases contain multiple
tables and are far more flexible tan flat
file databases.
They are more flexible but harder to design.
They contain multiple tables.
FileMaker is an example of a relational database.
USING DATABASES
Databases affect almost every aspect of daily life -- from grocery store inventories and cable-TV subscriber
information to marketing mailing lists and issuing payroll checks to employees. Databases aren't just for big
business. You can create a handy personal or family database to keep track of just about anything, including your
video game collection, recipes, contacts, music CDs and books.
DIFFERENT USES OF
DATABASES
FOR EDUCATION
The business world depends on databases 24 hours a day, seven days a week.
Inventory, order processing, payroll, accounting, shipping and transportation
routing are often tracked within a main database that keeps the company
functioning.
FOR BUSINESSES
FOR NON-PROFITS
FOR HOUSEHOLD
EVERYDAY USES
FOR BUSINESSES
From elementary schools to colleges, educational institutions use databases to
keep track of students, grades, transfers, transcripts and other student data.
There are even specialized database packages geared toward schools and
colleges.
FOR EDUCATION
FOR NON-PROFITS
FOR HOUSEHOLD
EVERYDAY USES
DIFFERENT USES OF
DATABASES
FOR EDUCATION
Like businesses and educational institutions, non-profit organizations use
systems to track information. Many charities and other non-profit groups use a
database to store details of donations, volunteers, hours served in the
community, clients helped and other information related to the organization.
FOR NON-PROFITS
FOR BUSINESSES
FOR HOUSEHOLD
EVERYDAY USES
DIFFERENT USES OF
DATABASES
FOR EDUCATION
The database also has a role in household and family management. Many
people use databases to keep track of family birthdays, bills and expenses in the
home; addresses of friends and relatives and movie/DVD collections.
FOR HOUSEHOLD
FOR NON-PROFITS
FOR BUSINESSES
EVERYDAY USES
DIFFERENT USES OF
DATABASES
FOR EDUCATION
Each time you make a purchase and the sales clerk asks for your address or ZIP
code, your information is kept and stored on a customer database. These
collections of data are used to send mailings of special offers, discounts and
other deals.
EVERYDAY USES
FOR NON-PROFITS
FOR HOUSEHOLD
FOR BUSINESSES
DIFFERENT USES OF
DATABASES
Let’s see..
PAYING ATTENTION?
Select one of the
options. Then move on
to the next slide to check
your answer.
True or False:
Databases are essential for the business world.
True
False
Let’s see..
PAYING ATTENTION?
Select one of the
options. Then move on
to the next slide to check
your answer.
True or False:
Databases are essential for the business world.
True
False
True!
The business world depends on
databases 24/7
PAYING ATTENTION?
PhpMyAdmin is one of the most popular applications
for MySQL databases management. It is a free tool
written in PHP.
Through this software you can create, alter, drop,
delete, import and export MySQL database tables.
You can run MySQL queries, optimize, repair and
check tables, change collation and execute other
database management commands.
All the SiteGround clients can manage their MySQL
databases through the preinstalled PhpMyAdmin
software which is integrated in cPanel.
phpMyAdmin
MAIN FEATURES
The main PhpMyAdmin features are:
• A User-friendly web interface;
• Support for most MySQL functions like browse, drop, create, copy and alter databases, tables, views, fields and indexes, execute
MySQL queries
• Manage stored procedures and functions;
• Import data from CSV and SQL files;
• Export data to various formats: CSV, SQL, XML, PDF, ISO/IEC 26300 - OpenDocument Text and Spreadsheet, Word, Excel,
LATEX and others;
• Search globally in a database or a subset of it
MySQL is an open source database
management software that helps users store,
organize, and later retrieve data.
It has a variety of options to grant specific
users nuanced permissions within the tables
and databases.
DESCRIBE
MySQL
Let’s start by making a new user within the MySQL shell.
CREATE
A NEW USER
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
Then, provide the user with access to the information they will need.
The asterisks in this command refer to the database and table
(respectively) that they can access—this specific command allows to
the user to read, edit, execute and perform all tasks across all the
databases and tables.
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
To provide a specific user with a permission, you can use this framework:
GRANT [type of permission] ON [database name].[table name]
TO ‘[username]’@'localhost’;
PRACTICE TASK
Take some time to
research and complete
this task.
1. Practice creating a database using the DB wizard in cPanel
2. Open up phpMyAdmin
3. Explain what a database is and how it can be useful in relation to web hosting
ASSESMENT
Setup a MySQL database
and user in cPanel.
Share your outcome with the
rest of the class.
CONGRATULATIONS! You should now be able to:
• Define database
• Describe the different types of databases
o Flat
o Relational
• Define DB and user access
• Identify common uses for databases
• Describe phpMyAdmin
• Apply your knowledge to setup a MySQL
database and user in cPanel
Databases - Web Hosting Curriculum [6/10]

More Related Content

What's hot

Cloud Hosting Services
Cloud Hosting ServicesCloud Hosting Services
Cloud Hosting Services
HTS Hosting
 
Caching and Its Main Types
Caching and Its Main TypesCaching and Its Main Types
Caching and Its Main Types
HTS Hosting
 
web hosting
web hostingweb hosting
web hosting
Thush madu
 
Vertical vs Horizontal Scaling
Vertical vs Horizontal Scaling Vertical vs Horizontal Scaling
Vertical vs Horizontal Scaling Mark Myers
 
WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)
jaredwsmith
 
What is web hosting
What is web hostingWhat is web hosting
What is web hosting
fastwebhost1
 
Web20expo Filesystems
Web20expo FilesystemsWeb20expo Filesystems
Web20expo Filesystems
royans
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Archguest18a0f1
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
Jude Pugh
 
How to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHopHow to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHop
Tarik Pierce
 
Best web hosting
Best web hosting Best web hosting
Building a Scalable Architecture for web apps
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web apps
Directi Group
 
WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting Basics
Chris Burgess
 
Choosing the best hosting package for WordPress
Choosing the best hosting package for WordPressChoosing the best hosting package for WordPress
Choosing the best hosting package for WordPress
Zero Point Development
 
Web Hosting - What is it?
Web Hosting - What is it?Web Hosting - What is it?
Web Hosting - What is it?webhostingguy
 
Web server and web-hosting
Web server and web-hostingWeb server and web-hosting
Web server and web-hosting
AK DigiHub
 
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Ralf Schwoebel
 
Setting Up a Hybrid Domino Environment to Ease your Way to the Cloud
Setting Up a Hybrid Domino Environment to Ease your Way to the CloudSetting Up a Hybrid Domino Environment to Ease your Way to the Cloud
Setting Up a Hybrid Domino Environment to Ease your Way to the Cloud
Gabriella Davis
 
Virtualization Commputing
Virtualization CommputingVirtualization Commputing
Virtualization Commputing
Hi-Techpoint
 
Web Hosting Terms Explained
Web Hosting Terms ExplainedWeb Hosting Terms Explained
Web Hosting Terms Explained
HTS Hosting
 

What's hot (20)

Cloud Hosting Services
Cloud Hosting ServicesCloud Hosting Services
Cloud Hosting Services
 
Caching and Its Main Types
Caching and Its Main TypesCaching and Its Main Types
Caching and Its Main Types
 
web hosting
web hostingweb hosting
web hosting
 
Vertical vs Horizontal Scaling
Vertical vs Horizontal Scaling Vertical vs Horizontal Scaling
Vertical vs Horizontal Scaling
 
WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)
 
What is web hosting
What is web hostingWhat is web hosting
What is web hosting
 
Web20expo Filesystems
Web20expo FilesystemsWeb20expo Filesystems
Web20expo Filesystems
 
Web20expo Scalable Web Arch
Web20expo Scalable Web ArchWeb20expo Scalable Web Arch
Web20expo Scalable Web Arch
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
 
How to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHopHow to Build a Website Similar to WorldStarHipHop
How to Build a Website Similar to WorldStarHipHop
 
Best web hosting
Best web hosting Best web hosting
Best web hosting
 
Building a Scalable Architecture for web apps
Building a Scalable Architecture for web appsBuilding a Scalable Architecture for web apps
Building a Scalable Architecture for web apps
 
WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting Basics
 
Choosing the best hosting package for WordPress
Choosing the best hosting package for WordPressChoosing the best hosting package for WordPress
Choosing the best hosting package for WordPress
 
Web Hosting - What is it?
Web Hosting - What is it?Web Hosting - What is it?
Web Hosting - What is it?
 
Web server and web-hosting
Web server and web-hostingWeb server and web-hosting
Web server and web-hosting
 
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
 
Setting Up a Hybrid Domino Environment to Ease your Way to the Cloud
Setting Up a Hybrid Domino Environment to Ease your Way to the CloudSetting Up a Hybrid Domino Environment to Ease your Way to the Cloud
Setting Up a Hybrid Domino Environment to Ease your Way to the Cloud
 
Virtualization Commputing
Virtualization CommputingVirtualization Commputing
Virtualization Commputing
 
Web Hosting Terms Explained
Web Hosting Terms ExplainedWeb Hosting Terms Explained
Web Hosting Terms Explained
 

Similar to Databases - Web Hosting Curriculum [6/10]

Relational database concept and technology
Relational database concept and technologyRelational database concept and technology
Relational database concept and technology
Ducat
 
Information Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docxInformation Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docx
jaggernaoma
 
DATABASE ADMINSTRATION
DATABASE ADMINSTRATION DATABASE ADMINSTRATION
DATABASE ADMINSTRATION
Nusrat Gulbarga
 
12363 database certification
12363 database certification12363 database certification
12363 database certification
Universitas Bina Darma Palembang
 
What is Database Management.pdf
What is Database Management.pdfWhat is Database Management.pdf
What is Database Management.pdf
Konverge Technologies Pvt. Ltd.
 
Chapter 5 data processing
Chapter 5 data processingChapter 5 data processing
Chapter 5 data processingUMaine
 
Introducing file maker pro 12
Introducing file maker pro 12Introducing file maker pro 12
Introducing file maker pro 12
Juragan Pitware
 
Relational database management systems
Relational database management systemsRelational database management systems
Relational database management systems
Datasoft Consulting
 
Data base management system
Data base management systemData base management system
Data base management system
ashirafzal1
 
Introduction to Sql on Hadoop
Introduction to Sql on HadoopIntroduction to Sql on Hadoop
Introduction to Sql on Hadoop
Samuel Yee
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
YOGESH SINGH
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT
huma sh
 
6.2 software
6.2 software6.2 software
Ms access
Ms accessMs access
Ms access
RoshanMaharjan13
 
Introduction of Database Management Systems.pptx
Introduction of Database Management Systems.pptxIntroduction of Database Management Systems.pptx
Introduction of Database Management Systems.pptx
hafizsaifullah5
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
sharing notes123
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
Sharing Slides Training
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
Sharing Slides Training
 
Day 1
Day 1Day 1
Day 1
hicenter
 

Similar to Databases - Web Hosting Curriculum [6/10] (20)

Relational database concept and technology
Relational database concept and technologyRelational database concept and technology
Relational database concept and technology
 
Information Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docxInformation Systems For Business and BeyondChapter 4Data a.docx
Information Systems For Business and BeyondChapter 4Data a.docx
 
DATABASE ADMINSTRATION
DATABASE ADMINSTRATION DATABASE ADMINSTRATION
DATABASE ADMINSTRATION
 
12363 database certification
12363 database certification12363 database certification
12363 database certification
 
Dbms9
Dbms9Dbms9
Dbms9
 
What is Database Management.pdf
What is Database Management.pdfWhat is Database Management.pdf
What is Database Management.pdf
 
Chapter 5 data processing
Chapter 5 data processingChapter 5 data processing
Chapter 5 data processing
 
Introducing file maker pro 12
Introducing file maker pro 12Introducing file maker pro 12
Introducing file maker pro 12
 
Relational database management systems
Relational database management systemsRelational database management systems
Relational database management systems
 
Data base management system
Data base management systemData base management system
Data base management system
 
Introduction to Sql on Hadoop
Introduction to Sql on HadoopIntroduction to Sql on Hadoop
Introduction to Sql on Hadoop
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT
 
6.2 software
6.2 software6.2 software
6.2 software
 
Ms access
Ms accessMs access
Ms access
 
Introduction of Database Management Systems.pptx
Introduction of Database Management Systems.pptxIntroduction of Database Management Systems.pptx
Introduction of Database Management Systems.pptx
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
 
Ais Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational DatabasesAis Romney 2006 Slides 04 Relational Databases
Ais Romney 2006 Slides 04 Relational Databases
 
Day 1
Day 1Day 1
Day 1
 

Recently uploaded

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 

Recently uploaded (20)

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 

Databases - Web Hosting Curriculum [6/10]

  • 2. INTRODUCTION Databases let you store lots of information for easy access on a site. Web development courses will often teach how to save content to databases using web forms.
  • 3. MODULE OBJECTIVES Upon completion of this module, you should be able to: • Define database • Describe the different types of databases o Flat o Relational • Define DB and user access • Identify common uses for databases • Describe phpMyAdmin • Apply your knowledge to setup a MySQL database and user in cPanel
  • 4. WHAT IS A DATABASE? A database is a computerized system that makes it easy to: o Search for information o Select information o Store information The most common reason for needing a database is when a customer is using a Content Management System (CMS) such as WordPress or Joomla. A database acts as the brain of the website. Anytime you make a change to your website your database is what remembers the change or update.
  • 5. TYPES OF DATABASES Databases can be of two types, let’s explore each of them in detail. FLAT FILE RELATIONAL Flat file A "flat file" database allows users to specify data attributes (columns, datatypes) for one table at a time, storing those attributes independently from any application. dBase III and Paradox are good examples of this kind of database in the CP/M and MS-DOS environments, and the original FileMaker was a good Mac O/S example.
  • 6. TYPES OF DATABASES IP addresses can be either static or dynamic. FLAT FILE RELATIONAL Relational A relational database is one that contains multiple tables of data that relate to each other through special key fields. Relational databases are far more flexible (though harder to design and maintain) than what are known as flat file databases, which contain a single table of data.
  • 7. Let’s see.. PAYING ATTENTION? Select one or more of the options. Then move on to the next slide to check your answer. They are more flexible but harder to design. They contain multiple tables. FileMaker is an example of a relational database. Which of the following statements are true relational databases?
  • 8. Let’s see.. PAYING ATTENTION? Select one or more of the options. Then move on to the next slide to check your answer. Which of the following statements are true relational databases? Relational databases contain multiple tables and are far more flexible tan flat file databases. They are more flexible but harder to design. They contain multiple tables. FileMaker is an example of a relational database.
  • 9. USING DATABASES Databases affect almost every aspect of daily life -- from grocery store inventories and cable-TV subscriber information to marketing mailing lists and issuing payroll checks to employees. Databases aren't just for big business. You can create a handy personal or family database to keep track of just about anything, including your video game collection, recipes, contacts, music CDs and books.
  • 10. DIFFERENT USES OF DATABASES FOR EDUCATION The business world depends on databases 24 hours a day, seven days a week. Inventory, order processing, payroll, accounting, shipping and transportation routing are often tracked within a main database that keeps the company functioning. FOR BUSINESSES FOR NON-PROFITS FOR HOUSEHOLD EVERYDAY USES
  • 11. FOR BUSINESSES From elementary schools to colleges, educational institutions use databases to keep track of students, grades, transfers, transcripts and other student data. There are even specialized database packages geared toward schools and colleges. FOR EDUCATION FOR NON-PROFITS FOR HOUSEHOLD EVERYDAY USES DIFFERENT USES OF DATABASES
  • 12. FOR EDUCATION Like businesses and educational institutions, non-profit organizations use systems to track information. Many charities and other non-profit groups use a database to store details of donations, volunteers, hours served in the community, clients helped and other information related to the organization. FOR NON-PROFITS FOR BUSINESSES FOR HOUSEHOLD EVERYDAY USES DIFFERENT USES OF DATABASES
  • 13. FOR EDUCATION The database also has a role in household and family management. Many people use databases to keep track of family birthdays, bills and expenses in the home; addresses of friends and relatives and movie/DVD collections. FOR HOUSEHOLD FOR NON-PROFITS FOR BUSINESSES EVERYDAY USES DIFFERENT USES OF DATABASES
  • 14. FOR EDUCATION Each time you make a purchase and the sales clerk asks for your address or ZIP code, your information is kept and stored on a customer database. These collections of data are used to send mailings of special offers, discounts and other deals. EVERYDAY USES FOR NON-PROFITS FOR HOUSEHOLD FOR BUSINESSES DIFFERENT USES OF DATABASES
  • 15. Let’s see.. PAYING ATTENTION? Select one of the options. Then move on to the next slide to check your answer. True or False: Databases are essential for the business world. True False
  • 16. Let’s see.. PAYING ATTENTION? Select one of the options. Then move on to the next slide to check your answer. True or False: Databases are essential for the business world. True False True! The business world depends on databases 24/7
  • 17. PAYING ATTENTION? PhpMyAdmin is one of the most popular applications for MySQL databases management. It is a free tool written in PHP. Through this software you can create, alter, drop, delete, import and export MySQL database tables. You can run MySQL queries, optimize, repair and check tables, change collation and execute other database management commands. All the SiteGround clients can manage their MySQL databases through the preinstalled PhpMyAdmin software which is integrated in cPanel.
  • 18. phpMyAdmin MAIN FEATURES The main PhpMyAdmin features are: • A User-friendly web interface; • Support for most MySQL functions like browse, drop, create, copy and alter databases, tables, views, fields and indexes, execute MySQL queries • Manage stored procedures and functions; • Import data from CSV and SQL files; • Export data to various formats: CSV, SQL, XML, PDF, ISO/IEC 26300 - OpenDocument Text and Spreadsheet, Word, Excel, LATEX and others; • Search globally in a database or a subset of it
  • 19. MySQL is an open source database management software that helps users store, organize, and later retrieve data. It has a variety of options to grant specific users nuanced permissions within the tables and databases. DESCRIBE MySQL
  • 20. Let’s start by making a new user within the MySQL shell. CREATE A NEW USER CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; Then, provide the user with access to the information they will need. The asterisks in this command refer to the database and table (respectively) that they can access—this specific command allows to the user to read, edit, execute and perform all tasks across all the databases and tables. GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost'; To provide a specific user with a permission, you can use this framework: GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@'localhost’;
  • 21. PRACTICE TASK Take some time to research and complete this task. 1. Practice creating a database using the DB wizard in cPanel 2. Open up phpMyAdmin 3. Explain what a database is and how it can be useful in relation to web hosting
  • 22. ASSESMENT Setup a MySQL database and user in cPanel. Share your outcome with the rest of the class.
  • 23. CONGRATULATIONS! You should now be able to: • Define database • Describe the different types of databases o Flat o Relational • Define DB and user access • Identify common uses for databases • Describe phpMyAdmin • Apply your knowledge to setup a MySQL database and user in cPanel