code: public synchronized void start() throws ManagedProcessException {
          logger.info("Starting up the database...");
          boolean ready = false;
          try {
              mysqldProcess = startPreparation();
              ready = mysqldProcess.startAndWaitForConsoleMessageMaxMs(getReadyForConnectionsTag(), dbStartMaxWaitInMS);
          } catch (Exception e) {
              logger.error("failed to start mysqld", e);
              throw new ManagedProcessException("An error occurred while starting the database", e);
          }
          if (!ready) {
              if (mysqldProcess.isAlive())
                  mysqldProcess.destroy();
              throw new ManagedProcessException("Database does not seem to have started up correctly? Magic string not seen in "
                      + dbStartMaxWaitInMS + "ms: " + getReadyForConnectionsTag() + mysqldProcess.getLastConsoleLines());
          }
          logger.info("Database startup complete.");
      }
docs: Starts up the database, using the data directory and port specified in the configuration.
  
  @throws ManagedProcessException if something fatal went wrong