If the database does not exist then the server should create an empty one.  I already had the code for this, it just needed moving around.