Read db stuff from config