After MySQLConnection::connectNow() completed, MigrateController::actionWait and calling it in entrypoint.sh can be finished.