Error when running server without a database present.

This bit me earlier.