DB Settings and init script