12.5 The Workbench Scripting Shell

12.5.1 Exploring the Workbench Scripting Shell
12.5.2 The Shell Window
12.5.3 The Files, Globals, Classes, Modules, and Notifications Tabs

The Workbench Scripting Shell provides a means for entering and executing scripts. Through the use of the scripting shell, MySQL Workbench can support new behavior and data sources using code written in Lua and Python. The shell can also be used to explore the current Workbench GRT (Generic RunTime) facilities.

The scripting shell is not only useful for expanding MySQL Workbench. You can use a script file from the scripting shell command line to perform repetitive tasks programmatically.

The development language can be either Python or Lua. The default programming language used in Workbench Scripting Shell is defined in the General tab of the MySQL Workbench Preferences dialog, and defaults to Python.

Note

Although they serve a different purpose, the MySQL Utilities are also integrated with MySQL Workbench. For more information, see Section 1.4, “MySQL Utilities”.