title: Deploy and install application along with database (MySQL or MariaDB) --offline environment--
body: <p>My Java application uses MariaDB (MySQL) Database. The difficulty at the moment is deployment using a simple package so that these can be installed on another server with ease (The server is most likely disconnected from the outer world so no downloading scripts will work). Is there anyway this can be done? Perhaps, scripting or packaging? Does anyone have experience in doing such task? I am certain that this is a common situation for intranet server applications. How are they usually done?</p>
  
  <p>I have done my research, and I know there are alternative database such as Derby which can be embedded. This is surely an option, but I would like to stick with MySQL if possible. Also, it's an open-source project so no need for legal advice. I'm trying to tackle the problem not run around it --at least for now.</p>
  
  <p>
  * Assume server is Offline
  * Assume no root privileges on the server
  * Easy to set up &amp; configure (possibly no install procedure)
  * Automate the process</p>