[artf607818] used common method for getting db driver