This allows you to set the default table storage engine, the default SQL Mode, and the utility to be used for MySQL dumps.
The document property SqlMode
defines
SQL_MODE
for all operations affecting SQL
parsing at the document scope. The purpose of this option is to
preserve the consistency of SQL statements within the document.
The property has the following function:
Sets the SQL_MODE
DBMS session variable to
the value stored in the SqlMode
property of
the document when performing reverse engineering, forward
engineering or synchronization operations.
Honors the SQL_MODE
values defined in
SqlMode
so that SQL parsing is correct.
Only a subset of all possible SQL_MODE
values
affect the MySQL Workbench SQL parser. These values are:
ANSI_QUOTES
,
HIGH_NOT_PRECEDENCE
,
IGNORE_SPACE
,
NO_BACKSLASH_ESCAPES
,
PIPES_AS_CONCAT
. Other values do not affect the
MySQL Workbench SQL parser and are ignored.
If the value of SqlMode
is not set then the
default value of the SQL_MODE
session variable
defined by the server stays unchanged during operations with the
server. However, the MySQL Workbench SQL parser will behave as if
SQL_MODE
is also not set. This may potentially
lead to inconsistencies in SQL syntax stored in the document. If
you choose to not set the SqlMode
property,
ensure that the default SQL_MODE
variable
defined by the server does not contain any values from the
following list: ANSI_QUOTES
,
HIGH_NOT_PRECEDENCE
,
IGNORE_SPACE
,
NO_BACKSLASH_ESCAPES
,
PIPES_AS_CONCAT
.
The SqlMode
property is defined in two
locations: globally and at document scope. Every document upon its
creation copies the value of the global property into the property
defined for the document. The property value defined at document
scope always has higher priority over the one defined globally.
The Path to mysqldump tool textfield allows you to enter the name of the MySQL Dump tool you wish to use. Leave this textfield blank to use the default Workbench dump tool.