MySQL Workbench Tutorial - Presentation PDF
MySQL Workbench Tutorial - Presentation PDF
MySQL Workbench Tutorial - Presentation PDF
What is MySQL?
Why use MySQL?
Introducing MySQL Workbench
MySQL workbench- Modeling and Design tool
MySQL workbench - SQL development tool
MySQL workbench - Administration tool
Install MySQL workbench Guide
Examples of relational databases include Microsoft SQL Server, Microsoft Access, Oracle, DB2
etc.
One may ask why we would choose MySQL over the other database management systems.
Let's look at the strengths of MySQL compared to over relational databases such as SQL
Server-
MySQL supports multiple storage engines each with its own specifications while other
systems like SQL server only support a single storage engine. In order to appreciate this
/
statement, let's look at two of the storage engines supported by MySQL.
InnoDB: - its default storage engine provided with MySQL as of version 5.5.
InnoDB supports foreign keys for referential integrity and also supports
ACID-standard transactions.
MyISAM: - it was the default storage engine for MySQL prior to version 5.5.
MyISAM lacks support for transactions. Its advantages over InnoDB include
simplicity and high performance.
MySQL has high performance compared to other relation database systems. This is due to
its simplicity in design and support for multiple-storage engines.
Cost effective, it's relatively cheaper in terms of cost when compared to other relational
databases. In fact, the community edition is free. The commercial edition has a licensing
fee which is also cost effective compared to licensing fees for products such as Microsoft
SQL Server.
Cross platform - MySQL works on many platforms which means it can be deployed on
most machines. Other systems such as MS SQL Server only run on the windows platform.
In order to interact with MySQL, you will need a server access tool that can communicate
with MySQL server. MySQL supports multiple user connections.
(/images/mysql_workbench.png)
/
Getting Started MySQL workbench- Modeling and Design tool
Models are at the core of most valid and high performance databases. MySQLworkbench
has tools that allow developers and database administrators visually create physical
database design models that can be easily translated into MySQL databases using
forward engineering.
MySQL workbench supports creation of multiple models in the same environment.
It supports all objects such as tables, views, stored procedures, triggers, etc. that make
up a database.
MySQL workbench has a built in model validating utility that reports any issues that
might be found to the data modeler.
It also allows for different modeling notations and can be extended by using LUA a
scripting language.
The figure shown below shows the modeling window for MySQLWorkbench.
(/images/MSQLWorkBench.png)
/
MySQLworkbench, has built in SQL visual editor.
The Visual SQL editor allows developers to build, edit and run queries against MySQL
server databases. It has utilities for viewing data and exporting it.
Its syntax color highlighters help developers easily write and debug SQL statements.
Multiple queries can be run and results automatically displayed in different tabs.
The queries are also saved in the history panel for later retrieval and running.
The figure shown below shows the SQL development window for MySQL Workbench.
Ad
APP預約搶先試穿2020年新款
伊頓婚紗工作室 開啟
(/images/mysql_workbench_sql_development.png)
/
Server administration plays a critical role in securing the data of the company. The major
issues concerning server administration are users' management, server configuration, server
logs and many more. Workbench MySQL has the following features that simplify the process
of MySQL server administration;
User administration - visual utility for managing users that lets database administrators
easily add new and remove existing users if need arises, grant and drop privileges and
view user profiles.
Server configuration - allows for advanced configuration of the server and fine tuning for
optimal performance.
Database backup and restorations - visual tool for exporting/importing MySQL dump
files. MySQL dump files contain SQL scripts for creating databases, tables, views, stored
procedures and insertion of data.
Server logs - visual tool for viewing MySQL server logs. The logs include error logs, binary
logs and InnodDB logs. These logs come in handy when performing diagnosis on the
server. The figure shown below shows the modeling window for MySQL Workbench.
The figure shown below shows the Admin panel for Workbench MySQL .
(/images/mysql_workbench_administration.png)
/