Hi,
i have setup dhis server in ubuntu, with postgresql database. the server is running fine. but whenever my tomcat6 restarts my database is deleted. i have to re create the database. the dataabse is empty. can anyone suggest me as to why this is happening?
also is there anyway that i can change my database from postgresql to mysql?
Can you post the log? it sounds like you are running a db in memory, which means that the configuration you are using is wrong. Looking at the log will give you hints about this.
Hi,
i have setup dhis server in ubuntu, with postgresql database. the server is running fine. but whenever my tomcat6 restarts my database is deleted. i have to re create the database. the dataabse is empty. can anyone suggest me as to why this is happening?
also is there anyway that i can change my database from postgresql to mysql?
On this page - http://www.dhis2.org/development
scroll down to database setup and you’ll find changes to hibernate.properties that needs to be done for MySQL
Can you post the log? it sounds like you are running a db in memory, which means that the configuration you are using is wrong. Looking at the log will give you hints about this.
Hi,
i have setup dhis server in ubuntu, with postgresql database. the server is running fine. but whenever my tomcat6 restarts my database is deleted. i have to re create the database. the dataabse is empty. can anyone suggest me as to why this is happening?
also is there anyway that i can change my database from postgresql to mysql?