make sure the database was started.