parsing db name