Configure database URI correctly.