validate db name as unique