read lion to get database config