Set up nova db connection properly