Step 2: Set Database Properties for Metadata Tables
As stated earlier each i2b2 database schema has a corresponding directory that contains the data files for installing the data. Each of these directories has a file called db.properties and it needs to be updated with your environment variables.
Steps for setting database properties
Assumptions:
- You are logged into the command line application for your environment. (Linux: Terminal or Shell and Windows: Command Prompt)
- You have already changed your working directory to the one that is appropriate for this installation.
open db.properties
db.properties
Important
When setting the database properties make sure you set the user to i2b2metadata and the project to demo.
ACT Ontology
As of 1.7.12, it is possible to load the ACT ontology instead of the demo ontology. In this case, change the project to ACT. More information can be found in the release notes.
Oracle Database
PostgreSQL Database
SQL Server Database
Tip
To save yourself steps, DO NOT close your Command Prompt window as you will be continuing to use it throughout the remainder of the installation.