Documentation Home
MySQL Workbench Manual
Related Documentation Download this Manual
PDF (US Ltr) - 17.0Mb
PDF (A4) - 17.0Mb


MySQL Workbench Manual  /  ...  /  Forward Engineering to a Live Server

9.4.1.2 Forward Engineering to a Live Server

Use forward engineering to export your schema design to a MySQL server.

Select the model that you wish to forward engineer and then choose the Database, Forward Engineer menu item from the main menu.

The first step of the process is to connect to a MySQL server to create the new database schema. As the following figure shows, this page enables you to use a previously stored connection or to enter the connection parameters.

Figure 9.40 Set Parameters for Connecting to a DBMS

Content is described in the surrounding text.

Click Next after setting the connection parameters. The next page of the wizard displays Catalog Validation, as the following figure shows. Validation is available only in the Commercial Edition.

Figure 9.41 Catalog Validation

Content is described in the surrounding text.

Click Run Validations to validate the catalog.

Click Next to continue.

The next page enables you to set options for the database to be created (see the following figure). These options are as described in Section 9.4.1.1.1, “Creating a Schema”.

Figure 9.42 Options

Content is described in the surrounding text.

Select the required options and then click Next.

As the following figure shows, the Select Objects page enables you to select the objects to forward engineer: Table objects, view objects, routine objects, trigger objects, and user objects.

Figure 9.43 Select Objects to Forward Engineer

Content is described in the surrounding text.

To select a subset of objects to forward engineer, use the Show Filter/Hide Filter button, then select specific objects. After you have selected your objects, click Next to continue.

On the Review Script page you may review and edit the SQL script that will be executed.

Figure 9.44 Review Script

Content is described in the surrounding text.

Click Next to continue if you are satisfied with the generated script.

The next page of the wizard displays the results of the forward engineering process.

Figure 9.45 Forward Engineering Progress

Content is described in the surrounding text.

You can confirm that the script created the schema by connecting to the target MySQL server and issuing a SHOW DATABASES statement.