Perhaps the DNS for the hostname has not propagated yet if you have only just created the database. Or it may still be in the processing queue. Give it a couple of hours then if no joy try Support.
Opinions are my own views, not DreamHosts’.
I am NOT a DreamHost employee OK!! :@
You act on my advice at your own risk!