set database lib config example