Alternative method of seeing if db exists