Read db connection info from settings