Execute the database provisioning phase: generate the scripts, make sure the database server is reachable, and set the database up if it is not already.
Database provision input with directory, config, mode, and emitter.
Script paths, whether setup was confirmed, and whether the script ran.
DB_UNREACHABLE when the server cannot be reached;
DB_NOT_SET_UP when the database is not set up and no administrator login
was given (or the user chose to run the script and it still is not);
DB_ADMIN_LOGIN_FAILED when the administrator login is refused;
DB_SETUP_FAILED when the setup script fails or leaves a login unable to sign in.
Phase C — Generates SQL provisioning scripts and validates database connectivity.
Example