Sakila DB can be downloaded from http://dev.mysql.com/doc/index-other.html.
After browsing to that URL, follow these steps to download and install Sakila:
[SAKILA_TMP]
.sakila-schema.sql
script to create the general schema of the Sakila database, that is, the tables, views, and so on. After executing the following command, we will be asked for the root user password. This is determined by the following command:p.shell> mysql -u root -p <[SAKILA_TMP]/sakila-schema.sql
sakila-data.sql
script to insert the example data in Sakila DB. Here too, we must enter the root user password: shell> mysql -u root -p <[SAKILA_TMP]/sakila-data.sql
. Next, we will perform a small test to verify that everything is okay. First, we log in to MySQL through the following command (remember to enter the root user password):shell> mysql -u root -p
mysql> use sakila;
mysql> show tables;
exit
command to quit MySQL CLP.We have downloaded the sakila-db
package and executed scripts to create the database and populate it with data using the MySQL command-line processor (CLP).
With the script files that contain the physical schema and the data, the package we downloaded contains a third file called sakila.mwb
. This file contains a diagram of the database to be used with MySQL Schema Workbench. In the following sections, we show the database model, and we divide it into the following three subdiagrams for easy understanding:
The information about Sakila DB in this chapter is based on the official documentation, which can be found at http://dev.mysql.com/doc/sakila/en/index.html.
In the Appendix A, Sakila DB Data Dictionary, we have a detailed data dictionary (DD) complete with a sample of data from each table in the Sakila DB.
Client information is stored in four tables, three of which contain information about the addresses that will be used for other entities, such as staff
and store
.
We propose that you investigate the folder structure of Pentaho Report Designer and their respective content.
To do this, you must go to the PRD installation path, that is, [PRD_HOME]
and seek answers to the following questions:
lib
folder?plugins
folder?samples
folder?templates
folder?Q1. Which of the following affirmations are true?
[PRD_HOME]/lib/jdbc
path.report-designer.sh
file or report-designer.bat
file, as appropriate.