Lesson 4
Lesson 4
Lesson 4
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:
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.
-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.
“
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