[+/-]
The procedure for launching MySQL Workbench depends on the platform. Generally, there are two ways to launch MySQL Workbench: either from the command line or from the graphical user interface of the host operating system. Using the command-line launching facility is useful when you want to customize some aspects of the way MySQL Workbench operates. The following sections describe how to launch MySQL Workbench for each of the supported platforms.
In addition to platform-specific command-line options, MySQL Workbench has the following command-line options:
--log-level level:
Controls the verbosity level for logging output from
Workbench.
With increasingly levels of verbosity, the valid values for
level are: error, warning, info, debug1,
debug2, and debug3.
The location of the generated log files are as follows: Linux:
~/.mysql/workbench/log/wb.log, Mac:
~/Library/Application
Support/Workbench/log/wb.log, and on Windows:
C:\Users\[your user
id]\AppData\Roaming\MySQL\Workbench\wb.log
--admin :
Load the server instance specified.
instance
--query
: Load the
connection specified.
connection
--model :
Load the model specified.
modelfile
--script :
Run the script specified.
script
--run : Run
the code snippet specified.
code
--quit-when-done: Quits MySQL Workbench after
--script or --run finishes.
