Figure 1: MySQL Sandbox states and where you can run the hooks
There are 3 options to run shell commands, 2 to run SQL queries, and 2 to run SQL files.
## Shell commands
--pre_start_exec=command : runs 'command' after the installation, before the server starts
--pre_grants_exec=command : runs 'command' after the server starts, before loading the …