Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack


Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Make sure you have Tomcat and MySQL installed on the computer designated to be the server

  2. Export the standalone database.
    1. To connect to the standalone database open MySQL Workbench and from the Database dropdown menu select ---> Connect to Database (control+U is the keyboard shortcut)
    2. Find the MySQL connection details in your openmrs-standalone folder in your runtimeproperties file (Username: openmrs, Port: 3316, password is autogenerated by standalone and is in your runtime propertes file)
    3. Click Data Export and select openmrs. All the 105 tables will show up with check marks next to them noting that they are ready to be exported. Keep the "Export to Dump Project Folder" option selected and click Start Export (note the file path location to which this dump will be saved)

  3. Import the standalone database into your local MySQL installation
    1. Open MySQL workbench and from the Database dropdown menu select ---> Connect to Database (control+U is the keyboard shortcut)
    2. Connect to your local MySQL instance. The default hostname and port should be there ( and 3306 respectively) and change the root username if needed
    3. Now click on "Data Import/Restore" in the left bar menu
    4. with "Import from Project Dump Folder" selected, browse and select the database you have exported 
    5. Once the database and all tables are selected, click "Start Import" and now your openmrs-standalone database should be in your MySQL instance 

  4. Deploy the openmrs.war file war file in Tomcat.
    1. Once Tomcat is running, you can open Tomcat by typing localhost:8080  in your web browser
    2. Click on Tomcat Manager (you may be prompted to enter your Tomcat username and password here)
    3. Under War file to Deploy, click on choose file In the Tomcat Manager
    4. browse and locate the openmrs.war file you've downloaded from (Enterprise)
    5. Click deploy in Tomcat manager now that the war file is visible
    6. Once the openmrs.war file is deployed follow the startup instructions here making sure you specify that you have an existing openmrs database which you will use for this installation

  5. Copy your standalone Module files (.omod) into your enterprise application data folder at (C:\Program Files\Apache\Tomcat 6.0\OpenMRS) or any of the other locations documented at Application Data Directory