---
title: "Database access and scheme in TYPO3"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:database@main"
source: "ApiOverview/Database/Index.rst"
rendered: "2026-09-23T17:05:17+00:00"
---

# Database access and scheme in TYPO3 {#database}

-   [Tables](https://docs.typo3.org/permalink/t3coreapi:database-structure-and-tables@main)
-   [Records](https://docs.typo3.org/permalink/t3coreapi:database-records-1@main)
    -   [New record component](https://docs.typo3.org/permalink/t3coreapi:new-record-component-in-the-contents-records-module@main)
    -   [Record objects](https://docs.typo3.org/permalink/t3coreapi:record-objects@main)
-   [DBAL](https://docs.typo3.org/permalink/t3coreapi:database-doctrine-dbal@main)
    -   [Introduction](https://docs.typo3.org/permalink/t3coreapi:introduction@main)
    -   [Configuration](https://docs.typo3.org/permalink/t3coreapi:configuration@main)
    -   [Basic create, read, update, and delete operations (CRUD)](https://docs.typo3.org/permalink/t3coreapi:basic-create-read-update-and-delete-operations-crud@main)
    -   [Class overview](https://docs.typo3.org/permalink/t3coreapi:class-overview@main)
    -   [ConnectionPool](https://docs.typo3.org/permalink/t3coreapi:connectionpool@main)
    -   [Query builder](https://docs.typo3.org/permalink/t3coreapi:query-builder@main)
    -   [Connection](https://docs.typo3.org/permalink/t3coreapi:connection@main)
    -   [Expression builder](https://docs.typo3.org/permalink/t3coreapi:expression-builder@main)
    -   [Restriction builder](https://docs.typo3.org/permalink/t3coreapi:restriction-builder@main)
    -   [Result](https://docs.typo3.org/permalink/t3coreapi:result@main)
    -   [Driver middlewares](https://docs.typo3.org/permalink/t3coreapi:doctrine-dbal-driver-middlewares@main)
    -   [Various tips and tricks](https://docs.typo3.org/permalink/t3coreapi:various-tips-and-tricks@main)
    -   [Troubleshooting](https://docs.typo3.org/permalink/t3coreapi:troubleshooting@main)
-   [Database compare](https://docs.typo3.org/permalink/t3coreapi:database-compare-during-update-and-installation@main)
-   [Extbase persistence](https://docs.typo3.org/permalink/t3coreapi:extbase-persistence-models-and-the-database@main)
-   [Reference index](https://docs.typo3.org/permalink/t3coreapi:reference-index@main)

> [!NOTE]
> **See also**
>
> Accessing the database:
>
> -   [PHP: Doctrine DBAL repositories](https://docs.typo3.org/permalink/t3coreapi:doctrine-dbal@main)
> -   [Extbase repositories](https://docs.typo3.org/permalink/t3coreapi:extbase-domain-repository@main)
> -   [Persistence: Saving Extbase models to the database](https://docs.typo3.org/permalink/t3coreapi:extbase-domain-model-mapping@main)
> -   [TypoScript: database-query data processor](https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/DataProcessing/DatabaseQueryProcessor.html#DatabaseQueryProcessor)
> -   [TypoScript: RECORDS](https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/ContentObjects/Records/Index.html#cobj-records-introduction)
>
> Defining and modeling the database scheme:
>
> -   [TCA Reference](https://docs.typo3.org/m/typo3/reference-tca/main/en-us/Index.html#start)
> -   [ext_tables.sql](https://docs.typo3.org/permalink/t3coreapi:ext-tables-sql@main)
>
> Configuring the database credentials
>
> -   [$GLOBALS\['TYPO3_CONF_VARS'\]\['DB'\]](https://docs.typo3.org/permalink/t3coreapi:typo3confvars-db@main)
