Specifying database and privileges