Hi,
this is all clearly explained in the installation guide:
http://dhis2.github.io/dhis2-docs/master/en/implementer/html/install_server_setup.html#install_database_configuration
regards,
Lars
On Sun, Sep 25, 2016 at 10:10 AM, Calle Hedberg
wrote:
> Scott,
>
>
Scott,
The config file up to version 2.21 was called "hibernate.properties"
>From 2.22 onwards this was changed to dhis.conf
So it's a version issue.
Regards
Calle
On 24 September 2016 at 23:56, Scott Allen <1625...@bugs.launchpad.net>
wrote:
> I think this is likely my personal user error
I think this is likely my personal user error but somewhere along the
lines I've gotten confused on if my config file should be named
dhis.conf or hibernate.properties. I'm also confused on whether the file
should use "hibernate.connection" or "connection.x" and if the
correct notation for the
Its working.
Thanks Alex.
On Tue, Sep 20, 2016 at 2:22 AM, Alex Tumwesigye
wrote:
> Dear Murari,
>
> The correct dhis.conf is
> connection.dialect = org.hibernate.dialect.PostgreSQLDialect
> connection.driver_class = org.postgresql.Driver
> connection.url =
Dear Murari,
The correct dhis.conf is
connection.dialect = org.hibernate.dialect.PostgreSQLDialect
connection.driver_class = org.postgresql.Driver
connection.url = jdbc:postgresql:dhis2
connection.username = dhis
connection.password = dhis
connection.schema = update
See below.
Yes i replaced one line in dhis.conf
hibernate.connection.schema = update
by
hibernate.hbm2ddl.auto = update
and its working
Thanks Knut
On Mon, Sep 19, 2016 at 7:18 PM, Knut Staring wrote:
> Try this in your dhis.conf:
>
> hibernate.dialect =
Try this in your dhis.conf:
hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:dhis2
hibernate.connection.username = dhis
hibernate.connection.password = dhis
hibernate.hbm2ddl.auto =
Your dhis.conf should look like this:
hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
hibernate.connection.driver_class = org.postgresql.Driver
hibernate.connection.url = jdbc:postgresql:dhis2
hibernate.connection.username = dhis
hibernate.connection.password = dhis
Specially i did system integration testing with PostGres Data Base, i found
data does't preserve and after restating server, it loses all data, i am not
sure but it can be a bug or might be i am losing some system
configuration issue which need to be taken care of apart form setting values
like
9 matches
Mail list logo