# Logs files and db resets after a week

**URL:** <https://forum.cloverdx.com/t/logs-files-and-db-resets-after-a-week/1077>\
**Category:** CloverDX Platform\
**Created:** [June 6, 2012, 12:00am UTC](https://forum.cloverdx.com/t/logs-files-and-db-resets-after-a-week/1077 "2012-06-06T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![angel](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@angel](https://forum.cloverdx.com/u/angel)\
**Post date:** [June 6, 2012, 12:00am UTC](https://forum.cloverdx.com/t/logs-files-and-db-resets-after-a-week/1077/1 "2012-06-06T00:00:00Z")

</div>

Hi,

Currently we are using the default derby server for our development purpose but after a week I see that the executions history clears and even the logs after 1 week.Is there a way to stop from clear the history every week.

Also can I have more information on how to connect to MySQL database(full overview what needs to be done other than changing the config or tomcat properties )

Thanks,  
Angel

---

<div class="post-metadata">

**Author:** ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)\
**Post date:** [June 8, 2012, 6:02am UTC](https://forum.cloverdx.com/t/logs-files-and-db-resets-after-a-week/1077/2 "2012-06-08T06:02:50Z")

</div>

Hi angel,

on Server are by default created scheduled tasks, which removes historical data. See [http://server-demo-ec2.cloveretl.com/cl … ve-records](http://server-demo-ec2.cloveretl.com/clover/docs/tasks.html#archive-records) for details. Basically you can disable it, or increase data life time.

Regarding MySQL: once you configure connection, rest (tables creation and initialization) should be done automatically by Server.
