8.3 Modeling Tutorials

8.3.1 Creating a Model
8.3.2 Basic Modeling
8.3.3 Importing a Data Definition SQL Script
8.3.4 Using the Default Schema
8.3.5 Documenting the sakila Database

This chapter contains three short tutorials intended to familiarize you with the basics of MySQL Workbench. These tutorials show how MySQL Workbench can be used both to design and to document databases.

Creating a database from scratch is the focus of Section 8.3.4, “Using the Default Schema” and exploring the graphic design capabilities of MySQL Workbench is touched upon in Section 8.3.2, “Basic Modeling”. Both these tutorials show the database design capabilities of MySQL Workbench.

Importing an SQL data definition script is probably the quickest way to familiarize yourself with MySQL Workbench—this tutorial makes use of the sakila database and emphasizes the use of MySQL Workbench as a documentation tool. Examples taken from the sakila database are used throughout the documentation, so doing this tutorial can be very helpful in understanding MySQL Workbench.