You are on page 1of 26

MySQL

MySQL
It is developed and managed
Is a relational database by oracle corporation and
management system based on initially released on 23 may,
SQL. It is developed, 1995. It is widely being used
distributed, and supported by in many small and large scale
the Oracle Corporation. industrial applications and
MySQL MySQL is free and open-
source software and it is
capable of handling a large
volume of data.
gaining more and more
popularity due to its reliability,
compatibility, cost-
effectiveness, and
comprehensive support.
Other Databases
1. PostgreSQL - has several fascinating features as compared to other relational
databases (specifically, MySQL), such as:

*Built-in data types for Array, Range, UUID, Geolocation, etc.


*Native support for document storage (JSON-style), XML, and key-value storage
(Hstore)
*Synchronous and asynchronous replication
*Scriptable in PL, Perl, Python, and more
*Full-text search
Other Databases
2. MariaDB - was created as a replacement for MySQL by the same person who developed
MySQL. Some features:

*Truly free and open


*Speed improvements over MySQL
*Dynamic columns for different rows in a table.
*Better replication capabilities
*Several JSON functions
*Virtual columns
Other Databases
3. CockroachDB - idea behind “cockroach” is that it’s an insect built
for survival. No matter what happens — predators, floods, eternal darkness,
rotting food, bombing, the cockroach finds a way to survive and multiply.
Other Databases
4. ClickHouse - is very easy to use and simple. It streamlines data
processing, puts all your data into a system in an organized manner, and is
available instantly to build reports.
Other Databases
5. MongoDB - was the first non-relational database to make big waves in
the tech industry and continues to dominate a fair share of attention.
Unlike relational databases, MongoDB is a “document database,” which stores
data in chunks, with related data clumped together in the same chunk.
Other Databases
6. SQLite - is a lightweight C library that provided a relational database
storage engine. Everything in this database lives in a single file (with a .sqlite
extension) that you can put anywhere in your filesystem.
Other Databases
7. CouchDB - is a neat little database solution that sits quietly in a corner
and has a small but dedicated following. It was created to deal with the
problems of a network loss and eventual resolution of data, which happens to
be a problem so messy that developers would instead switch jobs than deal
with it.
MySQL Download
VISUAL MODULES
SQL Development - gives developers a complete set of visual tools to
create, edit, and manage SQL queries, database connections and
objects.

Data Modelling - is the process of creating a data model for the data to
be stored in a database. This data model is a conceptual representation
of Data objects, the associations between different data objects, and the
rules.

Data Administration - for configuring servers, administering users, and


viewing database help.
Edition of MySQL

MySQL Workbench Community


Edition

MySQL Workbench Standard


Edition
3 MODULES HOME TAB
- is the starting point for MySQL Workbench

-for designing
databases & diagrams
-for working with -for monitoring &
queries, table data, & securing servers.
scripts
MySQL Workbench functionality five main topics:


SQL Development: - Enables you to create and manage connections to database
servers. Along with enabling you to configure connection parameters, MySQL Workbench
provides the capability to execute SQL queries on the database connections using the
built-in SQL Editor.

Data Modeling (Design): Enables you to create models of your database schema
graphically, reverse and forward engineer between a schema and a live database, and edit
all aspects of your database using the comprehensive Table Editor. The Table Editor
provides easy-to-use facilities for editing Tables, Columns, Indexes, Triggers, Partitioning,
Options, Inserts and Privileges, Routines and Views.

Server Administration: Enables you to administer MySQL server instances by


administering users, performing backup and recovery, inspecting audit data, viewing
database health, and monitoring the MySQL server performance.
MySQL Workbench functionality five main topics:


Data Migration: Allows you to migrate from Microsoft SQL Server, Microsoft Access,
Sybase ASE, SQLite, SQL Anywhere, PostreSQL, and other RDBMS tables, objects and
data to MySQL. Migration also supports migrating from earlier versions of MySQL to the
latest releases.

MySQL Enterprise Support: Support for Enterprise products such as MySQL Enterprise
Backup, MySQL Firewall, and MySQL Audit.
◦ COMMAND LINE

Working with
Database
◦ Graphical User Interface (GUI)

Working with
Database
Shortcut
SQL QueryTab actions
Secondary
Homescreen Output Area
Connection sidebar panel
Tab Panel
Tab
Main
Menu bar

Main
Toolbar

Sidebar panel

Navigator
Open a script file in this editor: Loads content from a saved SQL script into the SQL editor.

Save the script to a file: Enables you to save the current content of the SQL editor to a file.

Execute the selected portion of the script or everything, if there is no selection: Provides a simple way to
execute the entire query or a subset of the query.

Execute the statement under the keyboard cursor: Uses the position the keyboard cursor to identify and
execute the query.

Stop the query being executed: Halts execution of the currently executing SQL script. The connection to the
database server is not restarted and all open transactions remain open.

Set limit for the number of rows returned by queries: MySQL Workbench automatically adds the LIMIT clause
with the configured number of rows to SELECT queries. The default value is 1000.
RESULT GRID TOOLBAR

Reset: Resets all sorted columns.


OOOOOO
Refresh: Refreshes all data by re-executing the original statement.
OOOOOO
Filter Rows: performs a search of all cells (not case-sensitive). It automatically refreshes, and there is also
the refresh button to perform this action manually.
OOOOOO
Edit Current Row: Edit the current row.
OOOOOO
Add New Row: Adds a new empty row, and highlights it in edit mode. Click Apply to execute (and review)
the insert row query.
OOOOOO
Delete Selected Rows: Deletes the selected rows. Click Apply to execute (and review) the delete query.
OOOOOO
Export: Writes a result set to a CSV, HTML, JSON, SQL INSERT, Excel, XML, or Tab separated file as
required.
OOOOOO
Import: Import records from an external CSV file.
OOOOOO
Wrap Cell Content: If the contents of a cell exceeds the cell width, then the data will be cut off with an
ellipses. This option will instead wrap the contents within the cell, and adjust the cell height accordingly.

You might also like