Presentation is loading. Please wait.

Presentation is loading. Please wait.

MIS2502: Data Analytics MySQL and MySQL Workbench

Similar presentations


Presentation on theme: "MIS2502: Data Analytics MySQL and MySQL Workbench"— Presentation transcript:

1 MIS2502: Data Analytics MySQL and MySQL Workbench
Zhe (Joe) Deng

2 MySQL is a database management system (DBMS)
Relational database engine that creates, reads, updates, and deletes data from a database Database server that responds to queries from applications The server Software specifically built to provide services to other applications Examples File server Web server Application server Database server

3 Example: The web server
The web server “serves” web pages to the web browser The web browser allows the user to interact with the server The web browser is the “client” (software making the request) Google’s Web Server REQUEST: RESPONSE:

4 Interacting with MySQL
The client can either be a business application or a utility We’re going to use MySQL Workbench MySQL Database Server Request SQL statement or query Response Results (data and status)

5 MySQL Workbench Software that enables the user to interact directly with the database Create and execute SQL commands View query results It is NOT the database management system! It has some other features too Reverse engineer a schema from a set of tables Create a database from a schema Generate SQL automatically

6 MySQL Workbench is a development tool
It aids the creation and maintenance of databases It isn’t meant for business users Or even most corporate users For that, we’d construct an application You don’t interact with Amazon’s database directly You do it through Amazon.com Placing an order at Amazon You don’t interact with Temple’s database directly You do it through Owlnet Registering for a course Why do we create applications for users, instead of allowing direct database interaction?

7 Amazon.com database server
An example: Amazon.com The customer’s interaction with the database is handled through the web and application servers. SQL Results Your web browser on your phone, laptop, desktop computer Amazon.com web server serves the familiar web interface you know Amazon.com application server processes orders, maintains your cart, and makes recommendations Amazon.com database server stores customer, product, and order data

8 MySQL Workbench interacts directly with the database management system
An example: Amazon.com MySQL Workbench interacts directly with the database management system SQL Results Your web browser on your phone, laptop, desktop computer Amazon.com web server serves the familiar web interface you know Amazon.com application server processes orders, maintains your cart, and makes recommendations Amazon.com database server stores customer, product, and order data

9 Bottom line Database management systems like MySQL are an essential part of software applications They provide a database engine to store, process, and retrieve the data And they provide a database server to manage interactions with other software through SQL We will be using MySQL Workbench It’s the client that allows us to interact directly with the database


Download ppt "MIS2502: Data Analytics MySQL and MySQL Workbench"

Similar presentations


Ads by Google