Einrichtung einer database engine

  1. Konfiguration exportieren
  2. mirthConnect stoppen
  3. Anlage einer Datenbank

    PostgreSQL/Linux

    pc01:~# su - postgres
    postgres@pc01:~$ createuser mirth -P -E
    postgres@pc01:~$ createdb mirthdb -O mirth
    

    Datenbank konfigurieren in $MIRTH/conf/mirth.properties:

    database = postgres
    
    # examples:
    #       Derby           jdbc:derby:${dir.base}/mirthdb;create=true
    #       PostgreSQL      jdbc:postgresql://localhost:5432/mirthdb
    #       MySQL           jdbc:mysql://localhost:3306/mirthdb
    #       Oracle          jdbc:oracle:thin:@localhost:1521:DB
    #       SQLServer       jdbc:jtds:sqlserver://localhost:1433/mirthdb
    # database.url = jdbc:derby:${dir.base}/mirthdb;create=true
    database.url = jdbc:postgresql://localhost:5432/mirthdb
    
    # if using a custom driver, specify it here
    #database.driver = 
    
    # database credentials
    database.username = mirth
    database.password = *****
    

  4. mirthConnect wieder starten und Konfiguration zurück importieren