Yea llama-hub probably won't work with a version that old. We refactored our database support to not depend on langchain, hence this reader is broken for older versions
Try importing from the reader directly in llama-index instead
from llama_index.readers.database import DatabaseReader