local database setting