SlideShare uma empresa Scribd logo
1 de 24
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]

Mais conteúdo relacionado

Mais procurados

Cloud Hosting Services
Cloud Hosting ServicesCloud Hosting Services
Cloud Hosting ServicesHTS Hosting
 
Caching and Its Main Types
Caching and Its Main TypesCaching and Its Main Types
Caching and Its Main TypesHTS Hosting
 
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 hostingfastwebhost1
 
Web20expo Filesystems
Web20expo FilesystemsWeb20expo Filesystems
Web20expo Filesystemsroyans
 
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 ServicesJude 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 WorldStarHipHopTarik Pierce
 
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 appsDirecti Group
 
WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting BasicsChris 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 WordPressZero 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-hostingAK 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 CloudGabriella Davis
 
Virtualization Commputing
Virtualization CommputingVirtualization Commputing
Virtualization CommputingHi-Techpoint
 
Web Hosting Terms Explained
Web Hosting Terms ExplainedWeb Hosting Terms Explained
Web Hosting Terms ExplainedHTS Hosting
 

Mais procurados (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
 

Semelhante a Databases - Web Hosting Curriculum [6/10]

Relational database concept and technology
Relational database concept and technologyRelational database concept and technology
Relational database concept and technologyDucat
 
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.docxjaggernaoma
 
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 12Juragan Pitware
 
Relational database management systems
Relational database management systemsRelational database management systems
Relational database management systemsDatasoft Consulting
 
Data base management system
Data base management systemData base management system
Data base management systemashirafzal1
 
Introduction to Sql on Hadoop
Introduction to Sql on HadoopIntroduction to Sql on Hadoop
Introduction to Sql on HadoopSamuel 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 3YOGESH SINGH
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT huma sh
 
Introduction of Database Management Systems.pptx
Introduction of Database Management Systems.pptxIntroduction of Database Management Systems.pptx
Introduction of Database Management Systems.pptxhafizsaifullah5
 
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 Databasessharing 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 DatabasesSharing 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 DatabasesSharing Slides Training
 

Semelhante a 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
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

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