Update database connections.

- Call environment variable correctly.
- Remove debug statement.
- Add database URI.