Return the correct db name