synchronized protected void install ( ) throws ManagedProcessException { try { ManagedProcess mysqlInstallProcess = installPreparation ( ) ; mysqlInstallProcess . start ( ) ; mysqlInstallProcess . waitForExit ( ) ; } catch ( Exception e ) { throw new ManagedProcessException ( "An error occurred while installing the database" , e ) ; } logger . info ( "Installation complete." ) ; }
Installs the database to the location specified in the configuration .