This page has moved to the DevDocs:
Accessing the database