Fix DB initializer to work with server